pinctrl: pinconf: take the right mutex
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 13:53:32 +0000 (15:53 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 13:53:32 +0000 (15:53 +0200)
commita386267a2ceea33d76fa2b7f1c2e72a858fcb68e
treef34471de1be3dc0a62c62801b11db2b4cdf8bd8d
parentd72f88a42bf9761e3a92e58879d25a65712ca87a
pinctrl: pinconf: take the right mutex

The pinconf_dgb_config_print() takes the per-pincontroller
mutex, when what it wants to take is actually the pin maps
mutex.

Reported-by: James Hogan <james.hogan@imgtec.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c