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)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:32:52 +0000 (13:32 -0500)
commit77fdc5eff208830413895a6bc041cdae4cff5a92
tree6708f38aa28f7d35e84f336f1c8704d4049d41bd
parentadfe8f028b6fa28421692df08070302b6c0ad196
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