PD#168111: hdmitx: reactive I2C after resume
Sometimes, TX devices suspend and close HDMI 5V power, then this
may cause I2C clock/data falls and hungup I2C waiting states.
Change-Id: Ifd83c19f91a7023a43cebb5654157e207013556c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
static int amhdmitx_resume(struct platform_device *pdev)
{
- pr_info("amhdmitx: resume module %d\n", __LINE__);
+ struct hdmitx_dev *hdev = &hdmitx_device;
+
+ pr_debug("amhdmitx: I2C_REACTIVE\n");
+ hdev->HWOp.CntlMisc(hdev, MISC_I2C_REACTIVE, 0);
+
return 0;
}
#endif
#include <linux/pinctrl/consumer.h>
/* HDMITX driver version */
-#define HDMITX_VER "20171127"
+#define HDMITX_VER "20180702"
/* chip type */
#define MESON_CPU_ID_M8B 0