]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/sti: fix debug logs
authorFabien Dessenne <fabien.dessenne@st.com>
Tue, 6 Sep 2016 07:41:35 +0000 (09:41 +0200)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 20 Sep 2016 09:32:05 +0000 (11:32 +0200)
Add some missing \n in logs.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_gdp.c
drivers/gpu/drm/sti/sti_hda.c
drivers/gpu/drm/sti/sti_hdmi.c

index 27b617db4a388538548be9001a44db7e410c3bcc..531cb87c685e84945c61b5680c7b0e2c18b9e322 100644 (file)
@@ -810,7 +810,7 @@ static void sti_gdp_atomic_update(struct drm_plane *drm_plane,
        if (!curr_list) {
                /* First update or invalid node should directly write in the
                 * hw register */
-               DRM_DEBUG_DRIVER("%s first update (or invalid node)",
+               DRM_DEBUG_DRIVER("%s first update (or invalid node)\n",
                                 sti_plane_to_str(plane));
 
                writel(gdp->is_curr_top ?
index 8505569f75deec1489fec0f3a74b7ccf8f3067b5..a225c4d5189a44c4ec93c8dc0e6b634cb127a31f 100644 (file)
@@ -313,7 +313,7 @@ static void hda_enable_hd_dacs(struct sti_hda *hda, bool enable)
                        mask = DAC_CFG_HD_HZUVW_OFF_MASK;
                        break;
                default:
-                       DRM_INFO("Video DACS control register not supported!");
+                       DRM_INFO("Video DACS control register not supported\n");
                        return;
                }
 
@@ -362,7 +362,7 @@ static void hda_dbg_video_dacs_ctrl(struct seq_file *s, void __iomem *reg)
                mask = DAC_CFG_HD_HZUVW_OFF_MASK;
                break;
        default:
-               DRM_DEBUG_DRIVER("Warning: DACS ctrl register not supported!");
+               DRM_DEBUG_DRIVER("Warning: DACS ctrl register not supported\n");
                return;
        }
 
index d850ddac2338361a98d5936f27209bd4e733f9db..1f9e7b4ef2d56e425b404adbae57faa4da793986 100644 (file)
@@ -203,7 +203,7 @@ static irqreturn_t hdmi_irq_thread(int irq, void *arg)
 
        /* Audio FIFO underrun IRQ */
        if (hdmi->irq_status & HDMI_INT_AUDIO_FIFO_XRUN)
-               DRM_INFO("Warning: audio FIFO underrun occurs!");
+               DRM_INFO("Warning: audio FIFO underrun occurs!\n");
 
        return IRQ_HANDLED;
 }