Skip to contentSkip to conversation

drm: tda998x: Change cec_write address type

PATCH New Jean-Francois Moine 1 participant 1 message Jan 7, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: tda998x: Change cec_write address type

The CEC registers of the TDA998x have no access by page, so, a 8 bits address is enough.

---
 drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i2c/tda998x_drv.c +1 -1
index d476279..70658af 100644
@@ -342,7 +342,7 @@ struct tda998x_priv {
 #define TDA19988                  0x0301
 
 static void
-cec_write(struct tda998x_priv *priv, uint16_t addr, uint8_t val)
+cec_write(struct tda998x_priv *priv, uint8_t addr, uint8_t val)
 {
 	struct i2c_client *client = priv->cec;
 	uint8_t buf[] = {addr, val};
Signature · 6 lines
2.1.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel