/*
- * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
retval = ov5640_read_reg(OV5640_CHIP_ID_HIGH_BYTE, &chip_id_high);
if (retval < 0 || chip_id_high != 0x56) {
- pr_err("%s:cannot find camera\n", __func__);
+ pr_warning("camera ov5640_mipi is not found\n");
retval = -ENODEV;
goto err4;
}
retval = ov5640_read_reg(OV5640_CHIP_ID_LOW_BYTE, &chip_id_low);
if (retval < 0 || chip_id_low != 0x40) {
- pr_err("%s:cannot find camera\n", __func__);
+ pr_warning("camera ov5640_mipi is not found\n");
retval = -ENODEV;
goto err4;
}
ov5640_int_device.priv = &ov5640_data;
retval = v4l2_int_device_register(&ov5640_int_device);
+ pr_info("camera ov5640_mipi is found\n");
return retval;
err4: