projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e1158
)
backports: add I2C_CLIENT_SCCB
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 15 Jun 2014 12:42:31 +0000
(14:42 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 15 Jun 2014 16:31:17 +0000
(18:31 +0200)
This is needed for some newly activated media driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/i2c.h
patch
|
blob
|
history
diff --git
a/backport/backport-include/linux/i2c.h
b/backport/backport-include/linux/i2c.h
index ffa902715d70b820d33928cd094d42b262c7fe1a..2350835a8ab68cdf2e90f64324dc417c17e02547 100644
(file)
--- a/
backport/backport-include/linux/i2c.h
+++ b/
backport/backport-include/linux/i2c.h
@@
-38,4
+38,9
@@
extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
i2c_del_driver)
#endif
+#ifndef I2C_CLIENT_SCCB
+#define I2C_CLIENT_SCCB 0x9000 /* Use Omnivision SCCB protocol */
+ /* Must match I2C_M_STOP|IGNORE_NAK */
+#endif
+
#endif /* __BACKPORT_LINUX_I2C_H */