Commit 307dcfde authored by Ingo Flaschberger's avatar Ingo Flaschberger Committed by Stefan Bader

1wire: family module autoload fails because of upper/lower case mismatch.

BugLink: https://bugs.launchpad.net/bugs/1784382

commit 065c0956 upstream.

1wire family module autoload fails because of upper/lower
  case mismatch.
Signed-off-by: default avatarIngo Flaschberger <ingo.flaschberger@gmail.com>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 2e1a1fab
......@@ -741,7 +741,7 @@ int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
/* slave modules need to be loaded in a context with unlocked mutex */
mutex_unlock(&dev->mutex);
request_module("w1-family-0x%02x", rn->family);
request_module("w1-family-0x%02X", rn->family);
mutex_lock(&dev->mutex);
spin_lock(&w1_flock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment