pinctrl: tegra: correct mux status check
authorAshwini Ghuge <aghuge@nvidia.com>
Fri, 8 Nov 2013 15:29:31 +0000 (20:29 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Sun, 10 Nov 2013 14:49:48 +0000 (06:49 -0800)
commitdee81a5c57be4e9869b483867725d0e4d1060db5
tree414e3b4fea8b5896ee35dee967ca8872d4db59d8
parentf1d831a1920a739d5786dfc5579ddf5a7e02d1e4
pinctrl: tegra: correct mux status check

Return error only on mux less than zero

Change-Id: I3a6a36c20e64a302a51f8b79476b05dbe3a5142a
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>

ldewangan: remove un-necessarily change.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: I8662164ab168a11e4b557334aa7bdcd5ceb88ae5
Reviewed-on: http://git-master/r/328684
Reviewed-by: Automatic_Commit_Validation_User
drivers/pinctrl/pinctrl-tegra.c