Skip to content

Commit

Permalink
1wire: family module autoload fails because of upper/lower case misma…
Browse files Browse the repository at this point in the history
…tch.

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

Signed-off-by: Ingo Flaschberger <ingo.flaschberger@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Ingo Flaschberger authored and Greg Kroah-Hartman committed May 14, 2018
1 parent 955bc61 commit 065c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/w1/w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,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);
Expand Down

0 comments on commit 065c095

Please sign in to comment.