diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2022-11-25 21:40:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-29 15:13:15 +0300 |
commit | 9febcd7a0180b1ea5b49cda1838aef49ef936805 (patch) | |
tree | 2db64e864e9f4a970e830d475ef507851b84aeea /lib/test_xarray.c | |
parent | 833e250ef592c3c02dda400c1c44306f74241d33 (diff) | |
download | linux-9febcd7a0180b1ea5b49cda1838aef49ef936805.tar.xz |
ASoC: Intel: avs: nau8825: 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-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions