ASoC: sdm845: set jack only for a specific backend
authorRohit kumar <rohitkr@codeaurora.org>
Fri, 14 Dec 2018 10:01:43 +0000 (15:31 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 3 Jan 2019 16:32:47 +0000 (16:32 +0000)
commit2998369fb93f129b953aeb2984ae01e26c4fdf69
treefd503aa47d51fbd95ae3a7e047f690e7591510b0
parenta7a850dba82498a1e050d8d153cae67ce0edb3b2
ASoC: sdm845: set jack only for a specific backend

Headset codec is connected over PRIMARY_MI2S interface. Call
set_jack for codec associated with Primary Mi2s interface.
Also, set_jack to NULL when jack is freed.

Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sdm845.c