summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/core.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-26 08:44:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 20:28:11 +0300
commit8d1dc4d055faafafca3edd8499aeeef3f77803e4 (patch)
tree01f1ca3a15e427c7520e3e72b23b6b45dcd5ce51 /drivers/usb/chipidea/core.c
parent73529828cf896df5017255136b4dc2386dff0850 (diff)
downloadlinux-8d1dc4d055faafafca3edd8499aeeef3f77803e4.tar.xz
usb: chipidea: usbmisc_imx: Move the reading of USB_PHY_CTRL
If 'evdo' property is not defined, then reading the MX25_USB_PHY_CTRL_OFFSET register is an unneeded operation. Move the reading of MX25_USB_PHY_CTRL_OFFSET inside the 'evdo' if block code, where it is actually used. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/core.c')
0 files changed, 0 insertions, 0 deletions