USB: storage: ums-realtek: Update module parameter description for auto_delink_en [Linux 4.19.70]

This Linux kernel change "USB: storage: ums-realtek: Update module parameter description for auto_delink_en" is included in the Linux 4.19.70 release. This change is authored by Kai-Heng Feng <kai.heng.feng [at] canonical.com> on Wed Aug 28 01:34:49 2019 +0800. The commit for this change in Linux stable tree is f79d159 (patch) which is from upstream commit f6445b6. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream f6445b6.

USB: storage: ums-realtek: Update module parameter description for auto_delink_en

commit f6445b6b2f2bb1745080af4a0926049e8bca2617 upstream.

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>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/usb/storage/realtek_cr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c
index cc794e2..beaffac 100644
--- a/drivers/usb/storage/realtek_cr.c
+++ b/drivers/usb/storage/realtek_cr.c
@@ -38,7 +38,7 @@

 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])");

 #ifdef CONFIG_REALTEK_AUTOPM
 static int ss_en = 1;

Leave a Reply

Your email address will not be published. Required fields are marked *