<div dir="ltr">Please ignore this email. I've sent another one.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 24, 2018 at 11:02 PM Kangjie Lu <<a href="mailto:kjlu@umn.edu">kjlu@umn.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Both anx78xx_set_bits() and anx78xx_clear_bits() in the poweron process<br>
may fail. The fix inserts checks for their return values.<br>
<br>
Signed-off-by: Kangjie Lu <<a href="mailto:kjlu@umn.edu" target="_blank">kjlu@umn.edu</a>><br>
---<br>
drivers/gpu/drm/bridge/analogix-anx78xx.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c<br>
index 3b0fe2b188db..4f35aced65a0 100644<br>
--- a/drivers/gpu/drm/bridge/analogix-anx78xx.c<br>
+++ b/drivers/gpu/drm/bridge/analogix-anx78xx.c<br>
@@ -646,6 +646,7 @@ static void anx78xx_poweron(struct anx78xx *anx78xx)<br>
err);<br>
return;<br>
}<br>
+<br>
err = anx78xx_clear_bits(anx78xx->map[I2C_IDX_TX_P2],<br>
SP_POWERDOWN_CTRL_REG,<br>
SP_REGISTER_PD | SP_TOTAL_PD);<br>
-- <br>
2.17.2 (Apple Git-113)<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><span style="font-size:12.8px">Kangjie Lu</span><br></div><div>Assistant Professor</div><div>Department of Computer Science and Engineering</div><div>University of Minnesota<br></div><div><a href="https://www-users.cs.umn.edu/~kjlu" target="_blank">Personal homepage</a></div></div></div></div></div></div></div></div>