1wire: family module autoload fails because of upper/lower case mismatch.
commit 065c09563c872e52813a17218c52cd642be1dca6 upstream. 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>
This commit is contained in:
parent
f1d03ba944
commit
1a7d8fc185
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue