linux-stable/sound/soc/atmel
Takashi Iwai 69d0fd348d ASoC: dmaengine: Drop unused iov_iter for process callback
Passing the iov_iter to the process callback is rather buggy, as the
iterator has been already processed for playback.  Similarly, it makes
the copy for capture buggy after the process callback reading the
iterator out.  Moreover, all existing process callbacks don't refer to
the passed iterator at all.  So, it's better to drop the argument from
the process callback.

Fixes: 9bebd65443 ("ASoC: dmaengine: Use iov_iter for process callback, too")
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/CAHk-=wje+VkXjjfVTmK-uJdG_M5=ar14QxAwK+XDiq07k_pzBg@mail.gmail.com
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230831130457.8180-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-09-01 15:38:29 +02:00
..
atmel-classd.c ASoC: atmel: use asoc_dummy_dlc 2023-05-08 08:47:10 +09:00
atmel-classd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-i2s.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
atmel-pcm-dma.c ASoC: atmel-pcm: remove unnecessary include 2020-09-30 16:12:13 +01:00
atmel-pcm-pdc.c ASoC: atmel-pdc: Use managed DMA buffer allocation 2021-01-13 11:36:15 +00:00
atmel-pcm.h ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pdmic.c ASoC: atmel: Remove redundant of_match_ptr() 2023-08-13 19:37:44 +01:00
atmel-pdmic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel_ssc_dai.c ASoC: atmel_ssc_dai: Remove the unneeded result variable 2022-08-23 13:04:51 +01:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_wm8904.c ASoC: atmel: atmel_wm8904: Convert to platform remove callback returning void 2023-03-20 13:07:20 +00:00
Kconfig ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules 2022-04-04 08:39:32 +01:00
Makefile ASoC: atmel: mchp-pdmc: add PDMC driver 2022-03-08 13:38:59 +00:00
mchp-i2s-mcc.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mchp-pdmc.c ASoC: dmaengine: Drop unused iov_iter for process callback 2023-09-01 15:38:29 +02:00
mchp-spdifrx.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mchp-spdiftx.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
mikroe-proto.c ASoC: atmel: mikroe-proto: Convert to platform remove callback returning void 2023-03-20 13:07:25 +00:00
sam9g20_wm8731.c ASoC: atmel: sam9g20_wm8731: Remove the unneeded include <linux/i2c.h> 2023-05-22 11:18:52 +01:00
sam9x5_wm8731.c ASoC: atmel: sam9x5_wm8731: Convert to platform remove callback returning void 2023-03-20 13:07:27 +00:00
tse850-pcm5142.c ASoC: atmel: tse850-pcm5142: Remove redundant of_match_ptr() 2023-08-13 19:37:45 +01:00