File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Documentation/devicetree/bindings/i2c Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ properties:
57
57
- description : interrupt ID for I2C event
58
58
- description : interrupt ID for I2C error
59
59
60
+ interrupt-names :
61
+ items :
62
+ - const : event
63
+ - const : error
64
+
60
65
resets :
61
66
maxItems : 1
62
67
@@ -92,6 +97,8 @@ properties:
92
97
- description : register offset within syscfg
93
98
- description : register bitmask for FMP bit
94
99
100
+ wakeup-source : true
101
+
95
102
required :
96
103
- compatible
97
104
- reg
Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ static int davinci_i2c_probe(struct platform_device *pdev)
823
823
r = pm_runtime_resume_and_get (dev -> dev );
824
824
if (r < 0 ) {
825
825
dev_err (dev -> dev , "failed to runtime_get device: %d\n" , r );
826
- return r ;
826
+ goto err_pm ;
827
827
}
828
828
829
829
i2c_davinci_init (dev );
@@ -882,6 +882,7 @@ static int davinci_i2c_probe(struct platform_device *pdev)
882
882
err_unuse_clocks :
883
883
pm_runtime_dont_use_autosuspend (dev -> dev );
884
884
pm_runtime_put_sync (dev -> dev );
885
+ err_pm :
885
886
pm_runtime_disable (dev -> dev );
886
887
887
888
return r ;
You can’t perform that action at this time.
0 commit comments