diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2022-11-25 19:40:30 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-29 12:13:21 +0000 |
commit | 28baae9bfc1fb9fdaff2e8bd328b2a5b12a14273 (patch) | |
tree | 5112eede29ea804d3b006ee3b05effefaea72544 /drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c | |
parent | 1fa675a00a5028f4f49bd19eaab016ea2d765ba8 (diff) | |
download | linux-28baae9bfc1fb9fdaff2e8bd328b2a5b12a14273.tar.bz2 |
ASoC: Intel: avs: rt298: 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-10-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c')
0 files changed, 0 insertions, 0 deletions