void hdmitx_audio_mute_op(unsigned int flag)
{
+ if (hdmitx_device.hdmi_init != 1)
+ return;
+
hdmitx_device.tx_aud_cfg = flag;
if (flag == 0)
hdmitx_device.hwop.cntlconfig(&hdmitx_device,
void hdmitx_video_mute_op(unsigned int flag)
{
+ if (hdmitx_device.hdmi_init != 1)
+ return;
+
if (flag == 0) {
/* hdmitx_device.hwop.cntlconfig(&hdmitx_device, */
/* CONF_VIDEO_MUTE_OP, VIDEO_MUTE); */
int rst;
struct hdmitx_dev *hdev = &hdmitx_device;
+ if (hdmitx_device.hdmi_init != 1)
+ return;
+
pr_info("%s[%d] cmd: %d\n", __func__, __LINE__, cmd);
switch (cmd) {
case RPTX_HDCP14_OFF:
{
int ret = 0;
+ if (hdmitx_device.hdmi_init != 1)
+ return 1;
if (!nb)
return ret;
{
int ret;
+ if (hdmitx_device.hdmi_init != 1)
+ return 1;
ret = blocking_notifier_chain_unregister(&hdmitx_event_notify_list, nb);
return ret;