aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-i2c.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c
index 7143554234ff..b3557435456d 100644
--- a/drivers/media/video/ivtv/ivtv-i2c.c
+++ b/drivers/media/video/ivtv/ivtv-i2c.c
@@ -144,7 +144,7 @@ static int attach_inform(struct i2c_client *client)
144 } 144 }
145 } 145 }
146 if (i == I2C_CLIENTS_MAX) { 146 if (i == I2C_CLIENTS_MAX) {
147 IVTV_ERR("insufficient room for new I2C client!\n"); 147 IVTV_ERR("Insufficient room for new I2C client\n");
148 } 148 }
149 return 0; 149 return 0;
150} 150}
@@ -569,7 +569,7 @@ int ivtv_call_i2c_client(struct ivtv *itv, int addr, unsigned int cmd, void *arg
569 } 569 }
570 } 570 }
571 if (cmd != VIDIOC_G_CHIP_IDENT) 571 if (cmd != VIDIOC_G_CHIP_IDENT)
572 IVTV_ERR("i2c addr 0x%02x not found for command 0x%x!\n", addr, cmd); 572 IVTV_ERR("i2c addr 0x%02x not found for command 0x%x\n", addr, cmd);
573 return -ENODEV; 573 return -ENODEV;
574} 574}
575 575
@@ -640,7 +640,7 @@ int ivtv_i2c_hw(struct ivtv *itv, u32 hw, unsigned int cmd, void *arg)
640 640
641 addr = ivtv_i2c_hw_addr(itv, hw); 641 addr = ivtv_i2c_hw_addr(itv, hw);
642 if (addr < 0) { 642 if (addr < 0) {
643 IVTV_ERR("i2c hardware 0x%08x (%s) not found for command 0x%x!\n", 643 IVTV_ERR("i2c hardware 0x%08x (%s) not found for command 0x%x\n",
644 hw, ivtv_i2c_hw_name(hw), cmd); 644 hw, ivtv_i2c_hw_name(hw), cmd);
645 return addr; 645 return addr;
646 } 646 }
@@ -655,7 +655,7 @@ int ivtv_i2c_id(struct ivtv *itv, u32 id, unsigned int cmd, void *arg)
655 addr = ivtv_i2c_id_addr(itv, id); 655 addr = ivtv_i2c_id_addr(itv, id);
656 if (addr < 0) { 656 if (addr < 0) {
657 if (cmd != VIDIOC_G_CHIP_IDENT) 657 if (cmd != VIDIOC_G_CHIP_IDENT)
658 IVTV_ERR("i2c ID 0x%08x (%s) not found for command 0x%x!\n", 658 IVTV_ERR("i2c ID 0x%08x (%s) not found for command 0x%x\n",
659 id, ivtv_i2c_id_name(id), cmd); 659 id, ivtv_i2c_id_name(id), cmd);
660 return addr; 660 return addr;
661 } 661 }
@@ -696,7 +696,7 @@ int ivtv_upd64083(struct ivtv *itv, unsigned int cmd, void *arg)
696void ivtv_call_i2c_clients(struct ivtv *itv, unsigned int cmd, void *arg) 696void ivtv_call_i2c_clients(struct ivtv *itv, unsigned int cmd, void *arg)
697{ 697{
698 if (itv->i2c_adap.algo == NULL) { 698 if (itv->i2c_adap.algo == NULL) {
699 IVTV_ERR("adapter is not set"); 699 IVTV_ERR("Adapter is not set");
700 return; 700 return;
701 } 701 }
702 i2c_clients_command(&itv->i2c_adap, cmd, arg); 702 i2c_clients_command(&itv->i2c_adap, cmd, arg);