w1 - call request_module with w1 master mutex unlocked
authorHans-Frieder Vogt <hfvogt@gmx.net>
Sun, 6 Oct 2013 19:13:40 +0000 (21:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2013 07:12:14 +0000 (00:12 -0700)
commitbc04d76d6942068f75c10790072280b847ec6f1f
treea43736bbba5414a42cd61a15477c6efbb6b48e0c
parent2962aecef2878e2192ac9676700469678507c24d
w1 - call request_module with w1 master mutex unlocked

request_module for w1 slave modules needs to be called with the w1
master mutex unlocked. Because w1_attach_slave_device gets always(?)
called with mutex locked, we need to temporarily unlock the w1 master
mutex for the loading of the w1 slave module.

Signed-off by: Hans-Frieder Vogt <hfvogt@gmx.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org> # 3.11+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c