aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/ov519.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/ov519.c')
-rw-r--r--drivers/media/video/gspca/ov519.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index 739e8a2a2d30..183457c5cfdb 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -2804,7 +2804,7 @@ static void ov7xx0_configure(struct sd *sd)
2804 /* add OV7670 here 2804 /* add OV7670 here
2805 * it appears to be wrongly detected as a 7610 by default */ 2805 * it appears to be wrongly detected as a 7610 by default */
2806 if (rc < 0) { 2806 if (rc < 0) {
2807 PDEBUG(D_ERR, "Error detecting sensor type"); 2807 pr_err("Error detecting sensor type\n");
2808 return; 2808 return;
2809 } 2809 }
2810 if ((rc & 3) == 3) { 2810 if ((rc & 3) == 3) {
@@ -2832,12 +2832,12 @@ static void ov7xx0_configure(struct sd *sd)
2832 /* try to read product id registers */ 2832 /* try to read product id registers */
2833 high = i2c_r(sd, 0x0a); 2833 high = i2c_r(sd, 0x0a);
2834 if (high < 0) { 2834 if (high < 0) {
2835 PDEBUG(D_ERR, "Error detecting camera chip PID"); 2835 pr_err("Error detecting camera chip PID\n");
2836 return; 2836 return;
2837 } 2837 }
2838 low = i2c_r(sd, 0x0b); 2838 low = i2c_r(sd, 0x0b);
2839 if (low < 0) { 2839 if (low < 0) {
2840 PDEBUG(D_ERR, "Error detecting camera chip VER"); 2840 pr_err("Error detecting camera chip VER\n");
2841 return; 2841 return;
2842 } 2842 }
2843 if (high == 0x76) { 2843 if (high == 0x76) {
@@ -2863,7 +2863,7 @@ static void ov7xx0_configure(struct sd *sd)
2863 sd->sensor = SEN_OV7660; 2863 sd->sensor = SEN_OV7660;
2864 break; 2864 break;
2865 default: 2865 default:
2866 PDEBUG(D_PROBE, "Unknown sensor: 0x76%x", low); 2866 pr_err("Unknown sensor: 0x76%02x\n", low);
2867 return; 2867 return;
2868 } 2868 }
2869 } else { 2869 } else {
@@ -2884,7 +2884,7 @@ static void ov6xx0_configure(struct sd *sd)
2884 /* Detect sensor (sub)type */ 2884 /* Detect sensor (sub)type */
2885 rc = i2c_r(sd, OV7610_REG_COM_I); 2885 rc = i2c_r(sd, OV7610_REG_COM_I);
2886 if (rc < 0) { 2886 if (rc < 0) {
2887 PDEBUG(D_ERR, "Error detecting sensor type"); 2887 pr_err("Error detecting sensor type\n");
2888 return; 2888 return;
2889 } 2889 }
2890 2890