diff options
author | Zhang Yiqun <zhangyiqun@phytium.com.cn> | 2023-02-09 20:17:23 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-02-10 10:06:50 +0100 |
commit | 4fe20d62842eaa858267df1535f3e2bd39275c4a (patch) | |
tree | 9001a6c42e52137effed4108b6a530b2917c2efa /sound/soc/intel/avs/probes.c | |
parent | 86bdfa267a222c85f95664208e039b94e2ac913b (diff) | |
download | linux-stable-4fe20d62842eaa858267df1535f3e2bd39275c4a.tar.gz linux-stable-4fe20d62842eaa858267df1535f3e2bd39275c4a.tar.bz2 linux-stable-4fe20d62842eaa858267df1535f3e2bd39275c4a.zip |
ALSA: hda: remove redundant variable in snd_hdac_stream_start()
This 2nd variables are all set as true in treewide. So I think
it can be removed for easy understanding.
Signed-off-by: Zhang Yiqun <zhangyiqun@phytium.com.cn>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230209121723.14328-1-zhangyiqun@phytium.com.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/intel/avs/probes.c')
-rw-r--r-- | sound/soc/intel/avs/probes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/probes.c b/sound/soc/intel/avs/probes.c index 29d63f2a9616..741565c6465a 100644 --- a/sound/soc/intel/avs/probes.c +++ b/sound/soc/intel/avs/probes.c @@ -190,7 +190,7 @@ static int avs_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd, case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: case SNDRV_PCM_TRIGGER_RESUME: spin_lock_irqsave(&bus->reg_lock, cookie); - snd_hdac_stream_start(hdac_stream(host_stream), true); + snd_hdac_stream_start(hdac_stream(host_stream)); spin_unlock_irqrestore(&bus->reg_lock, cookie); break; |