Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
i2c
/
busses
/
i2c-qup.c
diff --git
a/kernel/drivers/i2c/busses/i2c-qup.c
b/kernel/drivers/i2c/busses/i2c-qup.c
index
fdcbdab
..
33b1156
100644
(file)
--- a/
kernel/drivers/i2c/busses/i2c-qup.c
+++ b/
kernel/drivers/i2c/busses/i2c-qup.c
@@
-727,7
+727,8
@@
static int qup_i2c_pm_resume_runtime(struct device *device)
#ifdef CONFIG_PM_SLEEP
static int qup_i2c_suspend(struct device *device)
{
- qup_i2c_pm_suspend_runtime(device);
+ if (!pm_runtime_suspended(device))
+ return qup_i2c_pm_suspend_runtime(device);
return 0;
}