pinctrl: single: correct argument for pinconf
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 13 Mar 2013 08:01:26 +0000 (16:01 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Mar 2013 18:50:19 +0000 (19:50 +0100)
commit7cba5b3f5fdfcb0be4f15b54a1f3a7455f973c16
treeeea16f4109c72e0cd5ecf2c8c8b8472317393987
parentee341a99de7386434a0d5cf4bc4329c3ab972a13
pinctrl: single: correct argument for pinconf

pcs_pinconf_set() is always using "arg << shift" to configure two
parameters case. But pcs_add_conf2() didn't remove shift for config
argument. So correct it.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c