Gergo Koteles 34a1066981
ASoC: tas2781: add module parameter to tascodec_init()
The tascodec_init() of the snd-soc-tas2781-comlib module is called from
snd-soc-tas2781-i2c and snd-hda-scodec-tas2781-i2c modules. It calls
request_firmware_nowait() with parameter THIS_MODULE and a cont/callback
from the latter modules.

The latter modules can be removed while their callbacks are running,
resulting in a general protection failure.

Add module parameter to tascodec_init() so request_firmware_nowait() can
be called with the module of the callback.

Fixes: ef3bcde75d06 ("ASoC: tas2781: Add tas2781 driver")
CC: stable@vger.kernel.org
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Link: https://lore.kernel.org/r/118dad922cef50525e5aab09badef2fa0eb796e5.1707076603.git.soyer@irl.hu
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-02-05 14:31:37 +00:00
..
2021-04-20 17:25:51 +01:00
2023-12-01 16:59:16 +00:00
2023-12-01 16:59:19 +00:00
2023-12-01 16:59:20 +00:00
2023-09-11 13:34:39 +01:00
2023-12-06 23:06:55 +00:00
2023-12-06 23:06:55 +00:00
2023-09-14 16:12:47 +01:00
2023-12-01 16:59:23 +00:00
2023-12-01 16:59:23 +00:00
2024-01-08 08:18:02 +01:00
2023-07-23 23:33:05 +01:00
2023-12-01 16:59:25 +00:00
2023-12-01 16:59:24 +00:00
2023-08-11 21:12:45 +02:00
2021-03-31 18:00:38 +01:00
2022-06-06 12:33:10 +01:00
2024-01-12 11:55:28 -08:00
2024-01-12 11:32:19 -08:00
2023-08-10 00:19:02 +01:00
2023-08-13 19:37:49 +01:00
2023-08-13 19:37:52 +01:00
2020-05-07 13:18:04 +01:00
2023-08-13 19:37:52 +01:00
2022-10-13 13:01:32 +01:00
2023-08-13 19:37:53 +01:00
2023-08-17 22:38:42 +01:00
2023-08-13 19:37:54 +01:00
2023-08-13 19:37:56 +01:00
2024-01-08 08:18:02 +01:00
2023-08-13 19:37:58 +01:00
2021-12-06 10:04:05 +01:00
2022-07-08 11:52:42 +01:00
2024-01-08 08:18:02 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-02 21:05:29 +01:00