[media] v4l: omap4iss: Don't split log strings on multiple lines
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 4 Dec 2013 00:26:37 +0000 (21:26 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 11 Dec 2013 08:50:22 +0000 (06:50 -0200)
Non-split strings help grepping for messages.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/iss.c
drivers/staging/media/omap4iss/iss_csi2.c
drivers/staging/media/omap4iss/iss_resizer.c
drivers/staging/media/omap4iss/iss_video.c

index 3ac986e6289ceb7235206023b78afac749909832..53dcb5488a7ec223bd5c5f536a69cd949e46a8f9 100644 (file)
@@ -1073,9 +1073,9 @@ iss_register_subdev_group(struct iss_device *iss,
 
                adapter = i2c_get_adapter(board_info->i2c_adapter_id);
                if (adapter == NULL) {
-                       dev_err(iss->dev, "%s: Unable to get I2C adapter %d for "
-                               "device %s\n", __func__,
-                               board_info->i2c_adapter_id,
+                       dev_err(iss->dev,
+                               "%s: Unable to get I2C adapter %d for device %s\n",
+                               __func__, board_info->i2c_adapter_id,
                                board_info->board_info->type);
                        continue;
                }
index 9ced9ce5c2017fd74ab2a242a10432a6e5b4fa05..c3a5fcaa02b089c57e5572293674558ccddf7256 100644 (file)
@@ -754,8 +754,8 @@ void omap4iss_csi2_isr(struct iss_csi2_device *csi2)
                                         CSI2_COMPLEXIO_IRQSTATUS);
                writel(cpxio1_irqstatus,
                        csi2->regs1 + CSI2_COMPLEXIO_IRQSTATUS);
-               dev_dbg(iss->dev, "CSI2: ComplexIO Error IRQ "
-                       "%x\n", cpxio1_irqstatus);
+               dev_dbg(iss->dev, "CSI2: ComplexIO Error IRQ %x\n",
+                       cpxio1_irqstatus);
                pipe->error = true;
        }
 
@@ -764,13 +764,8 @@ void omap4iss_csi2_isr(struct iss_csi2_device *csi2)
                              CSI2_IRQ_ECC_NO_CORRECTION |
                              CSI2_IRQ_COMPLEXIO_ERR |
                              CSI2_IRQ_FIFO_OVF)) {
-               dev_dbg(iss->dev, "CSI2 Err:"
-                       " OCP:%d,"
-                       " Short_pack:%d,"
-                       " ECC:%d,"
-                       " CPXIO:%d,"
-                       " FIFO_OVF:%d,"
-                       "\n",
+               dev_dbg(iss->dev,
+                       "CSI2 Err: OCP:%d SHORT:%d ECC:%d CPXIO:%d OVF:%d\n",
                        (csi2_irqstatus &
                         CSI2_IRQ_OCP_ERR) ? 1 : 0,
                        (csi2_irqstatus &
index cb5df52e45a6b53b107fb847b7044f7f492a38c3..e5a3a8cfbf2cab071563423674121d7100995041 100644 (file)
@@ -321,10 +321,7 @@ void omap4iss_resizer_isr(struct iss_resizer_device *resizer, u32 events)
 
        if (events & (ISP5_IRQ_RSZ_FIFO_IN_BLK |
                      ISP5_IRQ_RSZ_FIFO_OVF)) {
-               dev_dbg(iss->dev, "RSZ Err:"
-                       " FIFO_IN_BLK:%d,"
-                       " FIFO_OVF:%d,"
-                       "\n",
+               dev_dbg(iss->dev, "RSZ Err: FIFO_IN_BLK:%d, FIFO_OVF:%d\n",
                        (events &
                         ISP5_IRQ_RSZ_FIFO_IN_BLK) ? 1 : 0,
                        (events &
index 5a92bac70bd612705a0983093ac5bf823d22ffae..3e543d92c8d8bc055bed9ea63298715377b00825 100644 (file)
@@ -324,8 +324,8 @@ static int iss_video_buf_prepare(struct vb2_buffer *vb)
 
        addr = vb2_dma_contig_plane_dma_addr(vb, 0);
        if (!IS_ALIGNED(addr, 32)) {
-               dev_dbg(video->iss->dev, "Buffer address must be "
-                       "aligned to 32 bytes boundary.\n");
+               dev_dbg(video->iss->dev,
+                       "Buffer address must be aligned to 32 bytes boundary.\n");
                return -EINVAL;
        }