hdmitx: enhance robustness for export function [1/1]
authorhang cheng <hang.cheng@amlogic.com>
Tue, 15 Jun 2021 06:37:48 +0000 (14:37 +0800)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:13:11 +0000 (09:13 +0100)
commitcd43f959b0667f79adc41088170304efdd658e68
tree39d40135a637370ccbc80f1b5c786d0ad2dddf1a
parente96185199fdde59146608885ac1762a1121c72e9
hdmitx: enhance robustness for export function [1/1]

PD#SWPL-52333

Problem:
hdmitx audio setting function is called on TV
platform and cause crash

Solution:
if hdmitx driver is not enabled, export function
just return

Verify:
am301

Change-Id: I5e369e6951dfbb5da1784a7245b9c08bc7684c6f
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c