usb: ulpi: add indicator configuration function
authorLucas Stach <dev@lynxeye.de>
Sun, 30 Sep 2012 22:44:34 +0000 (00:44 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:01 +0000 (11:54 -0700)
commit141288b3a3249b79a168988c7d9e9ce817013d6f
tree72a911cca80f6c3f376e2d6ec0b2df9148663a4d
parent7a46b2c7f2be031906bb806193af18096b5dc135
usb: ulpi: add indicator configuration function

Allows for easy configuration of the VBUS indicator related ULPI
config bits.

Also move the external indicator setup from ulpi_set_vbus() to
the new function.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
drivers/usb/ulpi/ulpi.c
include/usb/ulpi.h