diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-05-06 09:39:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-12 22:08:36 +0100 |
commit | b74f7be90f5bd231358289dca1b25c91fe21143d (patch) | |
tree | 4c643b6d13cb8ca843ee05703bd9849116a27eef /include/sound | |
parent | db88a8e3ca38b840c768e65a3ddb952cf1bf258f (diff) | |
download | linux-b74f7be90f5bd231358289dca1b25c91fe21143d.tar.bz2 |
ASoC: atmel-pcm-pdc: Remove broken suspend/resume code
Suspend/resume support for the atmel-pcm-pdc driver was broken in commit
f0fba2ad1 ("ASoC: multi-component - ASoC Multi-Component Support"). It
essentially reverted the modifications done in commit 10cab262 ("ASoC: Change
how suspend and resume obtain the PCM runtime"). The suspend and resume handlers
at the beginning check if dai->runtime is not NULL, but dai->runtime is always
NULL, hence the code never runs. Considering that nobody noticed any problems in
the last 4 years since the code was broken and that the driver does not set
SNDRV_PCM_INFO_RESUME, which means applications are expected to stop and restart
the audio stream during suspend/resume, it is probably safe to assume that his
code is not needed and can be removed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions