]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: samsung: speyside: Free gpiod table
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 12 Mar 2025 10:02:25 +0000 (11:02 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Mar 2025 12:39:57 +0000 (12:39 +0000)
commit87fa872a1ecf542efc66a9184127faf03037f827
tree0d4f36077857e3570a78fe11c0339ad99cb1a3f4
parent02e1cf7a352a3ba5f768849f2b4fcaaaa19f89e3
ASoC: samsung: speyside: Free gpiod table

We create a gpio descriptor table but it needs to be free:ed
when the module is removed. Add a devm_ action to do the job.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: da9146c19b17 ("ASoC: samsung: speyside: Convert to GPIO descriptor")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250312-cleanup-table-v1-1-1d9a14464482@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/speyside.c