[Intel-gfx] [PATCH] drm/i915/lpe: Remove double-encapsulation of info string

Pandiyan, Dhinakaran dhinakaran.pandiyan at intel.com
Thu Dec 14 22:03:49 UTC 2017


On Wed, 2017-12-13 at 18:28 +0000, Chris Wilson wrote:
> Just printk the string, or at least do not double up on the newlines!
> 

Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>

> Fixes: eef57324d926 ("drm/i915: setup bridge for HDMI LPE audio driver")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> Cc: Jerome Anand <jerome.anand at intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Takashi Iwai <tiwai at suse.de>
> ---
>  drivers/gpu/drm/i915/intel_lpe_audio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_lpe_audio.c b/drivers/gpu/drm/i915/intel_lpe_audio.c
> index 3bf65288ffff..5809b29044fc 100644
> --- a/drivers/gpu/drm/i915/intel_lpe_audio.c
> +++ b/drivers/gpu/drm/i915/intel_lpe_audio.c
> @@ -193,7 +193,7 @@ static bool lpe_audio_detect(struct drm_i915_private *dev_priv)
>  		};
>  
>  		if (!pci_dev_present(atom_hdaudio_ids)) {
> -			DRM_INFO("%s\n", "HDaudio controller not detected, using LPE audio instead\n");
> +			DRM_INFO("HDaudio controller not detected, using LPE audio instead\n");
>  			lpe_present = true;
>  		}
>  	}


More information about the Intel-gfx mailing list