pinctrl: mvebu: Fix dove_audio1_ctrl_set function
authorAxel Lin <axel.lin@ingics.com>
Mon, 19 Nov 2012 09:39:54 +0000 (10:39 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 24 Nov 2012 02:57:19 +0000 (02:57 +0000)
commit63ace077b427a86464da34855d35addfa308e807
treee34171da6dd1e1a973de7438de6cbe9683bdd90f
parent78f9f3b12c6a25a668c43f026f42596c88d6d0bd
pinctrl: mvebu: Fix dove_audio1_ctrl_set function

When setting audio1 pinmux the bits in the corresponding registers
are not cleared. This fix first clears all bits and then sets the
required bits according to the selected function.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/pinctrl/mvebu/pinctrl-dove.c