]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Fix an error message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 4 May 2021 20:26:29 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 14:17:57 +0000 (16:17 +0200)
commit0dbcff606cdc1115de1b16b20e1835525e70febd
tree8c879fe83c76efb6332d1d33efb7dfa34182858e
parent6e62a08112b237f5c8cff42d97b9a33b24cd11f1
usb: musb: Fix an error message

'ret' is known to be 0 here.
Initialize 'ret' with the expected error code before using it.

Fixes: 2140fcf788bf ("usb: musb: Add support for MediaTek musb controller")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/69f514dc7134e3c917cad208e73cc650cb9e2bd6.1620159879.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/mediatek.c