mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
7f88a5ac39
commit
e62361c721
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue