[PATCH] drm: tda998x: Change cec_write address type
Jean-Francois Moine
moinejf at free.fr
Wed Jan 7 00:42:19 PST 2015
The CEC registers of the TDA998x have no access by page,
so, a 8 bits address is enough.
Signed-off-by: Jean-Francois Moine <moinejf at free.fr>
---
drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index d476279..70658af 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -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};
--
2.1.4
More information about the dri-devel
mailing list