diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2022-11-25 19:40:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-29 12:13:14 +0000 |
commit | 833e250ef592c3c02dda400c1c44306f74241d33 (patch) | |
tree | c189072aaffe4d9c90d68b1dca22ac6c8d1c50a8 /mm/util.c | |
parent | d60a197e50eca5017076b3867c1a49cb5118d597 (diff) | |
download | linux-stable-833e250ef592c3c02dda400c1c44306f74241d33.tar.gz linux-stable-833e250ef592c3c02dda400c1c44306f74241d33.tar.bz2 linux-stable-833e250ef592c3c02dda400c1c44306f74241d33.zip |
ASoC: Intel: avs: da7219: Refactor jack handling
Use link->exit() rather than pdev->remove() to unassign jack during card
unbind procedure so codec link initialization and exit procedures are
symmetrical.
Also, there is no need to perform search for codec dai in suspend_pre()
and resume_post() ourselves. Use snd_soc_card_get_codec_dai() instead.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221125184032.2565979-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions