diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2022-11-25 19:40:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-29 12:13:17 +0000 |
commit | a08797afc1f9792b16356f59ba047114dd06a25e (patch) | |
tree | 118305eea45a51950906bb4e0eb17061399ce805 /sound/ppc/burgundy.h | |
parent | 58391e7ca04be3960579a51d9a47d0fbc1b1607e (diff) | |
download | linux-a08797afc1f9792b16356f59ba047114dd06a25e.tar.bz2 |
ASoC: Intel: avs: rt274: 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-6-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ppc/burgundy.h')
0 files changed, 0 insertions, 0 deletions