From: Tomasz Figa Date: Thu, 11 Oct 2012 08:11:07 +0000 (+0200) Subject: pinctrl: samsung: Detect and handle unsupported configuration types X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~49^2~13^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c367d3da697846b80058859937f606c0081beda;p=pandora-kernel.git pinctrl: samsung: Detect and handle unsupported configuration types This patch modifies the pinctrl-samsung driver to detect when width of a bit field is set to zero (which means that such configuraton type is not supported) and return an error instead of trying to modify an inexistent register. Signed-off-by: Tomasz Figa Reviewed-by: Kyungmin Park Acked-by: Thomas Abraham Signed-off-by: Linus Walleij --- Reading git-diff-tree failed