hdmitx: reactive I2C after resume [1/1]

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>
This commit is contained in:
Zongdong Jiao
2018-06-28 14:29:39 +08:00
parent 1702754d80
commit 6017f83390
2 changed files with 6 additions and 2 deletions

View File

@@ -3941,7 +3941,11 @@ static int amhdmitx_suspend(struct platform_device *pdev,
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

View File

@@ -27,7 +27,7 @@
#include <linux/pinctrl/consumer.h>
/* HDMITX driver version */
#define HDMITX_VER "20171127"
#define HDMITX_VER "20180702"
/* chip type */
#define MESON_CPU_ID_M8B 0