diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-11-25 19:40:22 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-29 12:13:13 +0000 |
commit | d60a197e50eca5017076b3867c1a49cb5118d597 (patch) | |
tree | 0d5cba554c118bd527433521f399a4bd342afa2c /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 4cbb264d4e9136acab2c8fd39e39ab1b1402b84b (diff) | |
download | linux-d60a197e50eca5017076b3867c1a49cb5118d597.tar.bz2 |
ASoC: Intel: bdw_rt286: 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: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221125184032.2565979-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions