Commit 5929484
msm: camera: Undo pm_qos request upon error
If anything after msm_pm_qos_update_request(CAMERA_DISABLE_PC_LATENCY)
fails, the pm_qos request won't be undone and will waste power. Make
sure it gets unset in the error path to fix this.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>1 parent 6029fb9 commit 5929484
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
729 | 730 | | |
730 | 731 | | |
731 | 732 | | |
| |||
0 commit comments