diff options
| -rw-r--r-- | arch/arm/mach-tegra/powergate.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index c472bed3245..af9067e2867 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -76,7 +76,7 @@ static int tegra_powergate_set(int id, bool new_state)  	if (status == new_state) {  		spin_unlock_irqrestore(&tegra_powergate_lock, flags); -		return -EINVAL; +		return 0;  	}  	pmc_write(PWRGATE_TOGGLE_START | id, PWRGATE_TOGGLE);  |