diff mbox

[1/8] drm/sti: fix debug logs

Message ID 1473946905-4374-2-git-send-email-fabien.dessenne@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabien DESSENNE Sept. 15, 2016, 1:41 p.m. UTC
Add some missing \n in logs.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
---
 drivers/gpu/drm/sti/sti_gdp.c  | 2 +-
 drivers/gpu/drm/sti/sti_hda.c  | 4 ++--
 drivers/gpu/drm/sti/sti_hdmi.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Vincent Abriou Sept. 15, 2016, 3:26 p.m. UTC | #1
Acked-by: Vincent Abriou <vincent.abriou@st.com>

On 09/15/2016 03:41 PM, Fabien Dessenne wrote:
> Add some missing \n in logs.
>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
> ---
>  drivers/gpu/drm/sti/sti_gdp.c  | 2 +-
>  drivers/gpu/drm/sti/sti_hda.c  | 4 ++--
>  drivers/gpu/drm/sti/sti_hdmi.c | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c
> index f7cd671..3d48e5e 100644
> --- a/drivers/gpu/drm/sti/sti_gdp.c
> +++ b/drivers/gpu/drm/sti/sti_gdp.c
> @@ -819,7 +819,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 ?
> diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c
> index 8505569..a225c4d 100644
> --- a/drivers/gpu/drm/sti/sti_hda.c
> +++ b/drivers/gpu/drm/sti/sti_hda.c
> @@ -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;
>  	}
>
> diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c
> index d850dda..1f9e7b4 100644
> --- a/drivers/gpu/drm/sti/sti_hdmi.c
> +++ b/drivers/gpu/drm/sti/sti_hdmi.c
> @@ -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;
>  }
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c
index f7cd671..3d48e5e 100644
--- a/drivers/gpu/drm/sti/sti_gdp.c
+++ b/drivers/gpu/drm/sti/sti_gdp.c
@@ -819,7 +819,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 ?
diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c
index 8505569..a225c4d 100644
--- a/drivers/gpu/drm/sti/sti_hda.c
+++ b/drivers/gpu/drm/sti/sti_hda.c
@@ -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;
 	}
 
diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c
index d850dda..1f9e7b4 100644
--- a/drivers/gpu/drm/sti/sti_hdmi.c
+++ b/drivers/gpu/drm/sti/sti_hdmi.c
@@ -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;
 }