Skip to content

Commit 50b8749

Browse files
ujfalusikv2019i
authored andcommitted
ASoC: SOF: Drop unused DSP power states: D3_HOT and D3_COLD
The only reference to D3_HOT and D3_COLD DSP power state is in intel/hda-dsp.c in form of a dev_dbg() print. Remove them as they are not used and even if they are they could be re-added via the substate. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 83b93b3 commit 50b8749

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

sound/soc/sof/intel/hda-dsp.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,15 +498,9 @@ static void hda_dsp_state_log(struct snd_sof_dev *sdev)
498498
case SOF_DSP_PM_D2:
499499
dev_dbg(sdev->dev, "Current DSP power state: D2\n");
500500
break;
501-
case SOF_DSP_PM_D3_HOT:
502-
dev_dbg(sdev->dev, "Current DSP power state: D3_HOT\n");
503-
break;
504501
case SOF_DSP_PM_D3:
505502
dev_dbg(sdev->dev, "Current DSP power state: D3\n");
506503
break;
507-
case SOF_DSP_PM_D3_COLD:
508-
dev_dbg(sdev->dev, "Current DSP power state: D3_COLD\n");
509-
break;
510504
default:
511505
dev_dbg(sdev->dev, "Unknown DSP power state: %d\n",
512506
sdev->dsp_power_state.state);

sound/soc/sof/sof-priv.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ enum sof_dsp_power_states {
8282
SOF_DSP_PM_D0,
8383
SOF_DSP_PM_D1,
8484
SOF_DSP_PM_D2,
85-
SOF_DSP_PM_D3_HOT,
8685
SOF_DSP_PM_D3,
87-
SOF_DSP_PM_D3_COLD,
8886
};
8987

9088
struct sof_dsp_power_state {

0 commit comments

Comments
 (0)