diff mbox series

[1/2] USB: storage: ums-realtek: Update module parameter description for auto_delink_en

Message ID 20190902090421.29841-2-kai.heng.feng@canonical.com
State New
Headers show
Series Fix auto-delink on new ums-realtek devices | expand

Commit Message

Kai-Heng Feng Sept. 2, 2019, 9:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1838886

The option named "auto_delink_en" is a bit misleading, as setting it to
false doesn't really disable auto-delink but let auto-delink be firmware
controlled.

Update the description to reflect the real usage of this parameter.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190827173450.13572-1-kai.heng.feng@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f6445b6b2f2bb1745080af4a0926049e8bca2617 linux-next)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 drivers/usb/storage/realtek_cr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c
index 02bd3556364c..a7935c6382fc 100644
--- a/drivers/usb/storage/realtek_cr.c
+++ b/drivers/usb/storage/realtek_cr.c
@@ -38,7 +38,7 @@  MODULE_LICENSE("GPL");
 
 static int auto_delink_en = 1;
 module_param(auto_delink_en, int, S_IRUGO | S_IWUSR);
-MODULE_PARM_DESC(auto_delink_en, "enable auto delink");
+MODULE_PARM_DESC(auto_delink_en, "auto delink mode (0=firmware, 1=software [default])");
 
 static int enable_mmc = 1;
 module_param(enable_mmc, int, S_IRUGO | S_IWUSR);