linux-mainline/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_ssc_dai.c ASoC: atmel_ssc_dai: Remove the unneeded result variable 2022-08-23 13:04:51 +01:00
atmel_ssc_dai.h
atmel_wm8904.c ASoC: atmel: atmel_wm8904: Convert to platform remove callback returning void 2023-03-20 13:07:20 +00:00
atmel-classd.c ASoC: atmel: use asoc_dummy_dlc 2023-05-08 08:47:10 +09:00
atmel-classd.h
atmel-i2s.c ASoC: atmel: merge DAI call back functions into ops 2023-08-14 13:10:19 +01:00
atmel-pcm-dma.c
atmel-pcm-pdc.c
atmel-pcm.h
atmel-pdmic.c ASoC: atmel: Remove redundant of_match_ptr() 2023-08-13 19:37:44 +01:00
atmel-pdmic.h
Kconfig
Makefile
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