History

Merge tag 'regulator-fix-v4.16-suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fix from Mark Brown: "Fix suspend to idle. Testing on mainline after the initial regulator pull request went in identified a regression for suspend to idle due to it calling the suspend operations with states that it wasn't realized could happen, this patch fixes the problem" * tag 'regulator-fix-v4.16-suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: Fix suspend to idle

Linus Torvalds committed 8 years ago

Commit ffefb182 parents c3611b6 57a0dd11 file · +1 −1Browse files

Unified · Split

drivers/regulator/core.c+1−1
@@ -758,7 +758,7 @@ static int suspend_set_state(struct regulator_dev *rdev, · 757 unmodified lines
758 758
759 rstate = regulator_get_suspend_state(rdev, state);759 rstate = regulator_get_suspend_state(rdev, state);
760 if (rstate == NULL)760 if (rstate == NULL)
761 return -EINVAL;761 return 0;
762 762
763 /* If we have no suspend mode configration don't set anything;763 /* If we have no suspend mode configration don't set anything;
764 * only warn if the driver implements set_suspend_voltage or764 * only warn if the driver implements set_suspend_voltage or

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t