]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: chipidea: msm: Use hw_write_id_reg() instead of writel
authorStephen Boyd <stephen.boyd@linaro.org>
Wed, 28 Dec 2016 22:57:00 +0000 (14:57 -0800)
committerPeter Chen <peter.chen@nxp.com>
Fri, 20 Jan 2017 07:25:39 +0000 (15:25 +0800)
commitee33f6e70b9e611b7363f1a5c4efb642a8995889
tree454490d0e51a74719a492cf7f5c0c655e40a6616
parentdd3749099cfa2c80039193c438b90f3160eaf7f9
usb: chipidea: msm: Use hw_write_id_reg() instead of writel

The MSM_USB_BASE macro trick is not very clear, and we're using
it for only one register write so let's just move to using
hw_write_id_reg() and passing the ci pointer instead. That
clearly shows what offset we're using and avoids needing to
include the msm_hsusb_hw.h file when we're going to delete that
file soon.

Acked-by: Peter Chen <peter.chen@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/ci_hdrc_msm.c