[media] rc-core: cx231xx - leave the internals of rc_dev alone
Just some debug statements to change. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
a55a71da3d
commit
0781cb2860
@@ -30,7 +30,7 @@ static int get_key_isdbt(struct IR_i2c *ir, enum rc_type *protocol,
|
|||||||
int rc;
|
int rc;
|
||||||
u8 cmd, scancode;
|
u8 cmd, scancode;
|
||||||
|
|
||||||
dev_dbg(&ir->rc->input_dev->dev, "%s\n", __func__);
|
dev_dbg(&ir->rc->dev, "%s\n", __func__);
|
||||||
|
|
||||||
/* poll IR chip */
|
/* poll IR chip */
|
||||||
rc = i2c_master_recv(ir->c, &cmd, 1);
|
rc = i2c_master_recv(ir->c, &cmd, 1);
|
||||||
@@ -48,8 +48,7 @@ static int get_key_isdbt(struct IR_i2c *ir, enum rc_type *protocol,
|
|||||||
|
|
||||||
scancode = bitrev8(cmd);
|
scancode = bitrev8(cmd);
|
||||||
|
|
||||||
dev_dbg(&ir->rc->input_dev->dev, "cmd %02x, scan = %02x\n",
|
dev_dbg(&ir->rc->dev, "cmd %02x, scan = %02x\n", cmd, scancode);
|
||||||
cmd, scancode);
|
|
||||||
|
|
||||||
*protocol = RC_TYPE_OTHER;
|
*protocol = RC_TYPE_OTHER;
|
||||||
*pscancode = scancode;
|
*pscancode = scancode;
|
||||||
|
|||||||
Reference in New Issue
Block a user