ASoC: hdmi-codec: Add an op to set callback function for plug event
authorCheng-Yi Chiang <cychiang@chromium.org>
Wed, 17 Jul 2019 08:33:23 +0000 (16:33 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 13:50:03 +0000 (14:50 +0100)
commit6fa5963c37a2e3335eba0b7455e35a01318ebc15
treedb022d21562efc12856c2efa7b5a82f3e601560c
parentdfe58f2011595e7512bde9dffbd0abfc3a736ab7
ASoC: hdmi-codec: Add an op to set callback function for plug event

Add an op in hdmi_codec_ops so codec driver can register callback
function to handle plug event.

Driver in DRM can use this callback function to report connector status.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Link: https://lore.kernel.org/r/20190717083327.47646-2-cychiang@chromium.org
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hdmi-codec.h
sound/soc/codecs/hdmi-codec.c