ASoC: hdmi-codec: remove HDMI device unregister
authorVincent Abriou <vincent.abriou@st.com>
Wed, 8 Feb 2017 09:47:01 +0000 (10:47 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Feb 2017 18:33:16 +0000 (18:33 +0000)
commit8480ac567959eecdc694cf4f9c02d6fa687384b6
tree03f55796b287f9fb4a18358768082859d5675a08
parentcd6111b26280a2f38a9fb8e6630c63a96477e4bf
ASoC: hdmi-codec: remove HDMI device unregister

While unregistering the hdmi-codec, the hdmi device list must be
cleaned up. It avoid kernel page fault when registering again the
hdmi-codec.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c