]> git.baikalelectronics.ru Git - kernel.git/commit
usb: otg: Remove one unnecessary I2C read request.
authorHema HK <hemahk@ti.com>
Thu, 17 Feb 2011 06:36:05 +0000 (12:06 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Feb 2011 19:11:46 +0000 (21:11 +0200)
commitf03b0191ff3b20152cffc2e4b8e455636594d255
treef16e3c260351683225ca208c3b58d648fed7032d
parentdd2f35c469453dcc073a7216e471c2086d20d507
usb: otg: Remove one unnecessary I2C read request.

To get the ID status there was an I2C read transfer. Removed this I2C
read transfer as this info can be used from existing variable(linkstat).

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/twl6030-usb.c