]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: dsps: check for the single bit
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 17:01:03 +0000 (11:01 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:27 +0000 (15:33 -0500)
commitd1f430728199c0f6b131d6b28b38103be589ab49
treed9ec6b11e794cde59ad67632b190fcd0cd44062c
parent94d43c46a69aeb0c26272e0b292aba1dafd42da2
usb: musb: dsps: check for the single bit

We want to check if that particular bit is
set. It could very well be that bootloader
(or romcode) has fiddled with MUSB before
us which could leave other bits set in this
register.

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c