From: Ingo Flaschberger Date: Tue, 1 May 2018 14:10:33 +0000 (+0200) Subject: 1wire: family module autoload fails because of upper/lower case mismatch. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e0ce7053a12dcc0fc19628fccea7f0bed77eaf5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Evgeniy Polyakov Cc: stable Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 0c2a5a8327bd..6f9e9505b34c 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -750,7 +750,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);