UPSTREAM: usb: musb: Add musb_clearb/w() interface
Delete the const attribute of addr parameter in readb/w/l hooks, these changes are for implementing clearing W1C registers. Replace musb_readb/w with musb_clearb/w to clear the interrupt status. While at here, change some unsigned type to u32 to fix checkpatch.pl warnings. Bug: 158724613 Signed-off-by:Min Guo <min.guo@mediatek.com> [b-liu@ti.com: fix checkpatch.pl warnings.] Signed-off-by:
Bin Liu <b-liu@ti.com> Link: https://lore.kernel.org/r/20200115132547.364-23-b-liu@ti.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Macpaul Lin <macpaul.lin@mediatek.com> (cherry picked from commit 9c93d7fd464e7aad59c2afc261f80e6e0fbe2ca9) Change-Id: I7c9045ddf9f0958ebb7e6e34b9bf20b622b9210a
Loading
Please register or sign in to comment