diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-24 21:50:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-25 13:36:30 +0200 |
commit | e62361c721453b5cf76ce3bb8680fb8bc0832098 (patch) | |
tree | d0c90c83f11d81f85d9029d8724540648ab5e922 /drivers/usb/musb | |
parent | 7f88a5ac393f39319f69b8b20cc8d5759878d1a1 (diff) | |
download | linux-e62361c721453b5cf76ce3bb8680fb8bc0832098.tar.gz linux-e62361c721453b5cf76ce3bb8680fb8bc0832098.tar.bz2 linux-e62361c721453b5cf76ce3bb8680fb8bc0832098.zip |
usb: musb: use true for 'use_dma'
Fix the following coccicheck warning:
drivers/usb/musb/musb_core.c:1798:12-19: WARNING: Assignment of 0/1 to
bool variable
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200525025049.3400-4-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 48178aeccf5b..384a8039a7fd 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -1795,7 +1795,7 @@ irqreturn_t musb_interrupt(struct musb *musb) EXPORT_SYMBOL_GPL(musb_interrupt); #ifndef CONFIG_MUSB_PIO_ONLY -static bool use_dma = 1; +static bool use_dma = true; /* "modprobe ... use_dma=0" etc */ module_param(use_dma, bool, 0644); |