Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493214

Re: [PATCH] drm/mediatek: fix a typo

From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/mediatek: fix a typo
Date 2016-09-29 10:50 +0200
Message-ID <smFct-1IL-1@gated-at.bofh.it> (permalink)
References <smAcO-778-1@gated-at.bofh.it> <smAPw-7zf-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 29/09/16 06:01, CK Hu wrote:
> Acked-by: CK Hu <ck.hu@mediatek.com>
>
> On Thu, 2016-09-29 at 11:22 +0800, Bibby Hsieh wrote:
>> Fix the typo: OD_RELAYMODE->OD_CFG
>>

Although it is quite clear what the patch does, could you write one 
sentence to explain what it does. Maybe explain even which effect it 
has, which error get fixed etc.

As we are getting public available boards now, we should take more care 
about fixes. If you have a fix for a commit introduced in an earlier 
version of linux and it should be fixed for this version as well (e.g. 
v4.6 does have the feature but it does not work correctly) then please 
add these two lines before your Signed-off-by:

Fixes: <commit-hash> ("<commit subject line>")
Cc: stable@vger.kernel.org # v4.6+

Where v4.6+ stands for the oldest version where this should get fixed.

Thanks a lot,
Matthias

>> Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
>> ---
>>  drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
>> index df33b3c..aa5f20f 100644
>> --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
>> +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
>> @@ -123,7 +123,7 @@ static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w,
>>  			  unsigned int bpc)
>>  {
>>  	writel(w << 16 | h, comp->regs + DISP_OD_SIZE);
>> -	writel(OD_RELAYMODE, comp->regs + OD_RELAYMODE);
>> +	writel(OD_RELAYMODE, comp->regs + OD_CFG);
>>  	mtk_dither_set(comp, bpc, DISP_OD_CFG);
>>  }
>>
>
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] drm/mediatek: fix a typo Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-09-29 05:30 +0200
  Re: [PATCH] drm/mediatek: fix a typo CK Hu <ck.hu@mediatek.com> - 2016-09-29 06:10 +0200
    Re: [PATCH] drm/mediatek: fix a typo Matthias Brugger <matthias.bgg@gmail.com> - 2016-09-29 10:50 +0200
      Re: [PATCH] drm/mediatek: fix a typo Bibby Hsieh <bibby.hsieh@mediatek.com> - 2016-09-30 05:20 +0200
        Re: [PATCH] drm/mediatek: fix a typo Matthias Brugger <matthias.bgg@gmail.com> - 2016-10-03 10:50 +0200

csiph-web