commit | 8d1dc4d055faafafca3edd8499aeeef3f77803e4 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Nov 26 13:44:25 2014 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 09:28:11 2014 -0800 |
tree | 01f1ca3a15e427c7520e3e72b23b6b45dcd5ce51 | |
parent | 73529828cf896df5017255136b4dc2386dff0850 [diff] |
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>