mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user