usb: s3c-otg: Encapsulate PHY control
authorMarek Vasut <marex@denx.de>
Tue, 4 Nov 2014 03:08:18 +0000 (04:08 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 6 Nov 2014 20:05:54 +0000 (21:05 +0100)
commit40ff06b958dca8a17f6f42a511edb823e30ce1c0
tree0b8e51b65b7f5c6f40c052f00beaad91357e7bcd
parent2cc157b0cdc515cd08368e84dd61038feebf8599
usb: s3c-otg: Encapsulate PHY control

Encapsulate the Samsung PHY control and its register accesses
into the otg_phy_init() and otg_phy_off() functions.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/s3c_udc_otg.c