} else
break;
}
- if (cec_dev->dev_type == DEV_TYPE_TUNER)
+ if ((cec_dev->dev_type == DEV_TYPE_TUNER) ||
+ (cec_dev->dev_type == DEV_TYPE_PLAYBACK) ||
+ (cec_dev->dev_type == DEV_TYPE_AUDIO_SYSTEM))
b = cec_dev->port_num - 1;
else
b = cec_dev->port_num;
break;
}
- if (cec_dev->dev_type == DEV_TYPE_TUNER) {
+ if ((cec_dev->dev_type == DEV_TYPE_TUNER) ||
+ (cec_dev->dev_type == DEV_TYPE_PLAYBACK) ||
+ (cec_dev->dev_type == DEV_TYPE_AUDIO_SYSTEM)) {
/* last port is for tx in mixed tx/rx */
port[e].type = HDMI_OUTPUT;
port[e].port_id = 0; /* 0 for tx port id */
#ifndef __AO_CEC_H__
#define __AO_CEC_H__
-#define CEC_DRIVER_VERSION "2018/06/25\n"
+#define CEC_DRIVER_VERSION "Ver**2018/07/03**\n"
#define CEC_FRAME_DELAY msecs_to_jiffies(400)
#define CEC_DEV_NAME "cec"