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: I9258a28000294738a27b06229d9e12b32f96ad6c
Loading
Please register or sign in to comment