usb: phy: msm: Fix PTS definitions for MSM USB controller
authorTim Bird <tbird20d@gmail.com>
Mon, 28 Apr 2014 13:34:19 +0000 (16:34 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 30 Apr 2014 16:29:40 +0000 (11:29 -0500)
commit9f27984b9e098ce0a35b210ec0315c76108494e4
treebee39ae23a360c05059d13e8edaee6526d28ac38
parentd69c6f5df376ea40df5886468b155f515fddfbb2
usb: phy: msm: Fix PTS definitions for MSM USB controller

Fix the value used for Parallel Transceiver Select (PTS) for the MSM USB
controller.  This is a standard chipidea PORTSC definition, where
a PHY_TYPE of 10b (<<30) is ULPI and 11b (<<30) is SERIAL.
Fix the definitions and use them correctly in the driver code.

Signed-off-by: Tim Bird <tim.bird@sonymobile.com>
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-msm-usb.c
include/linux/usb/msm_hsusb_hw.h