projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
3b064e6
ba52762
)
Merge branch 'drm-tda998x-devel' of git://git.armlinux.org.uk/~rmk/linux-arm into...
author
Dave Airlie
<
[email protected]
>
Tue, 22 May 2018 00:20:45 +0000
(10:20 +1000)
committer
Dave Airlie
<
[email protected]
>
Tue, 22 May 2018 00:20:45 +0000
(10:20 +1000)
Please incorporate support for TDA998x I2C driver CEC
Signed-off-by: Dave Airlie <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
1
2
drivers/gpu/drm/i2c/tda998x_drv.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
drivers/gpu/drm/i2c/tda998x_drv.c
index 421c8a72369e3b77abd9a869badba552defd1056,eb9916bd84a49db9b62bdc182f4a06523329bc14..6ebd8842dbcc8649c887d689becf69e017f5146b
---
1
/
drivers/gpu/drm/i2c/tda998x_drv.c
---
2
/
drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/
drivers/gpu/drm/i2c/tda998x_drv.c
@@@
-1600,8
-1783,14
+1783,13
@@@
fail
/* if encoder_init fails, the encoder slave is never registered,
* so cleanup here:
*/
- if (priv->cec)
- i2c_unregister_device(priv->cec);
+ i2c_unregister_device(priv->cec);
- return -ENXIO;
+ if (priv->cec_notify)
+ cec_notifier_put(priv->cec_notify);
+ if (client->irq)
+ free_irq(client->irq, priv);
+ err_irq:
+ return ret;
}
static void tda998x_encoder_prepare(struct drm_encoder *encoder)