diff mbox

[v2,1/2] ASoC: mt6797: switch to SPDX license tag

Message ID 20180427015445.4334-2-kaichieh.chuang@mediatek.com (mailing list archive)
State Accepted
Commit 4135d8b6e94a38fc997414e986062d068043784b
Headers show

Commit Message

KaiChieh Chuang April 27, 2018, 1:54 a.m. UTC
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
---
 sound/soc/mediatek/mt6797/Makefile                 | 13 +------------
 sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
 sound/soc/mediatek/mt6797/mt6797-afe-clk.h         | 10 +---------
 sound/soc/mediatek/mt6797/mt6797-afe-common.h      | 10 +---------
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c         | 21 ++++++---------------
 sound/soc/mediatek/mt6797/mt6797-interconnection.h | 10 +---------
 sound/soc/mediatek/mt6797/mt6797-mt6351.c          | 21 ++++++---------------
 sound/soc/mediatek/mt6797/mt6797-reg.h             | 12 ++----------
 8 files changed, 24 insertions(+), 94 deletions(-)

Comments

Matthias Brugger April 27, 2018, 9:15 a.m. UTC | #1
On 04/27/2018 03:54 AM, KaiChieh Chuang wrote:
> Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> ---
>  sound/soc/mediatek/mt6797/Makefile                 | 13 +------------
>  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
>  sound/soc/mediatek/mt6797/mt6797-afe-clk.h         | 10 +---------
>  sound/soc/mediatek/mt6797/mt6797-afe-common.h      | 10 +---------
>  sound/soc/mediatek/mt6797/mt6797-afe-pcm.c         | 21 ++++++---------------
>  sound/soc/mediatek/mt6797/mt6797-interconnection.h | 10 +---------
>  sound/soc/mediatek/mt6797/mt6797-mt6351.c          | 21 ++++++---------------
>  sound/soc/mediatek/mt6797/mt6797-reg.h             | 12 ++----------
>  8 files changed, 24 insertions(+), 94 deletions(-)
> 

[...]

> diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> index d42a9d9fbf3e..9e5866d6819a 100644
> --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> @@ -1,18 +1,9 @@
> -/*
> - * mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> - *
> - * Copyright (c) 2018 MediaTek Inc.
> - * Author: Ryder Lee <ryder.lee@mediatek.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 and
> - * only version 2 as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0
> +//
> +// mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> +//
> +// Copyright (c) 2018 MediaTek Inc.
> +// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>

As we said in the last version, you should not delete Ryder from the author list.

>  
>  #include <linux/module.h>
>  #include <sound/soc.h>
> diff --git a/sound/soc/mediatek/mt6797/mt6797-reg.h b/sound/soc/mediatek/mt6797/mt6797-reg.h
> index 3330f73fc8bb..ffb55367f59f 100644
> --- a/sound/soc/mediatek/mt6797/mt6797-reg.h
> +++ b/sound/soc/mediatek/mt6797/mt6797-reg.h
> @@ -1,17 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
>  /*
>   * mt6797-reg.h  --  Mediatek 6797 audio driver reg definition
>   *
>   * Copyright (c) 2018 MediaTek Inc.
> - * Author: Garlic Tseng <garlic.tseng@mediatek.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 and
> - * only version 2 as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>

Same here, Garlic is an author as well, don't delete him from the comment.

Regards,
Matthias
Sean Wang April 27, 2018, 9:23 a.m. UTC | #2
Ryder and Garlic are not actual authors.

There are totally copy-n-paste errors on Author fields when KaiChieh is
making the 1st version.

also can see

http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html

http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html


On Fri, 2018-04-27 at 11:15 +0200, Matthias Brugger wrote:
> 
> On 04/27/2018 03:54 AM, KaiChieh Chuang wrote:
> > Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> > ---
> >  sound/soc/mediatek/mt6797/Makefile                 | 13 +------------
> >  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
> >  sound/soc/mediatek/mt6797/mt6797-afe-clk.h         | 10 +---------
> >  sound/soc/mediatek/mt6797/mt6797-afe-common.h      | 10 +---------
> >  sound/soc/mediatek/mt6797/mt6797-afe-pcm.c         | 21 ++++++---------------
> >  sound/soc/mediatek/mt6797/mt6797-interconnection.h | 10 +---------
> >  sound/soc/mediatek/mt6797/mt6797-mt6351.c          | 21 ++++++---------------
> >  sound/soc/mediatek/mt6797/mt6797-reg.h             | 12 ++----------
> >  8 files changed, 24 insertions(+), 94 deletions(-)
> > 
> 
> [...]
> 
> > diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > index d42a9d9fbf3e..9e5866d6819a 100644
> > --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > @@ -1,18 +1,9 @@
> > -/*
> > - * mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> > - *
> > - * Copyright (c) 2018 MediaTek Inc.
> > - * Author: Ryder Lee <ryder.lee@mediatek.com>
> > - *
> > - * This program is free software; you can redistribute it and/or modify
> > - * it under the terms of the GNU General Public License version 2 and
> > - * only version 2 as published by the Free Software Foundation.
> > - *
> > - * This program is distributed in the hope that it will be useful,
> > - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > - * GNU General Public License for more details.
> > - */
> > +// SPDX-License-Identifier: GPL-2.0
> > +//
> > +// mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> > +//
> > +// Copyright (c) 2018 MediaTek Inc.
> > +// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> 
> As we said in the last version, you should not delete Ryder from the author list.
> 
> >  
> >  #include <linux/module.h>
> >  #include <sound/soc.h>
> > diff --git a/sound/soc/mediatek/mt6797/mt6797-reg.h b/sound/soc/mediatek/mt6797/mt6797-reg.h
> > index 3330f73fc8bb..ffb55367f59f 100644
> > --- a/sound/soc/mediatek/mt6797/mt6797-reg.h
> > +++ b/sound/soc/mediatek/mt6797/mt6797-reg.h
> > @@ -1,17 +1,9 @@
> > +/* SPDX-License-Identifier: GPL-2.0 */
> >  /*
> >   * mt6797-reg.h  --  Mediatek 6797 audio driver reg definition
> >   *
> >   * Copyright (c) 2018 MediaTek Inc.
> > - * Author: Garlic Tseng <garlic.tseng@mediatek.com>
> > - *
> > - * This program is free software; you can redistribute it and/or modify
> > - * it under the terms of the GNU General Public License version 2 and
> > - * only version 2 as published by the Free Software Foundation.
> > - *
> > - * This program is distributed in the hope that it will be useful,
> > - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > - * GNU General Public License for more details.
> > + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> 
> Same here, Garlic is an author as well, don't delete him from the comment.
> 
> Regards,
> Matthias
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
Matthias Brugger April 27, 2018, 9:27 a.m. UTC | #3
On 04/27/2018 11:23 AM, Sean Wang wrote:
> Ryder and Garlic are not actual authors.
> 
> There are totally copy-n-paste errors on Author fields when KaiChieh is
> making the 1st version.
> 
> also can see
> 
> http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html
> 
> http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html
> 
> 

Sorry I didn't read these two emails.

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> On Fri, 2018-04-27 at 11:15 +0200, Matthias Brugger wrote:
>>
>> On 04/27/2018 03:54 AM, KaiChieh Chuang wrote:
>>> Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
>>> ---
>>>  sound/soc/mediatek/mt6797/Makefile                 | 13 +------------
>>>  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
>>>  sound/soc/mediatek/mt6797/mt6797-afe-clk.h         | 10 +---------
>>>  sound/soc/mediatek/mt6797/mt6797-afe-common.h      | 10 +---------
>>>  sound/soc/mediatek/mt6797/mt6797-afe-pcm.c         | 21 ++++++---------------
>>>  sound/soc/mediatek/mt6797/mt6797-interconnection.h | 10 +---------
>>>  sound/soc/mediatek/mt6797/mt6797-mt6351.c          | 21 ++++++---------------
>>>  sound/soc/mediatek/mt6797/mt6797-reg.h             | 12 ++----------
>>>  8 files changed, 24 insertions(+), 94 deletions(-)
>>>
>>
>> [...]
>>
>>> diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
>>> index d42a9d9fbf3e..9e5866d6819a 100644
>>> --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
>>> +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
>>> @@ -1,18 +1,9 @@
>>> -/*
>>> - * mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
>>> - *
>>> - * Copyright (c) 2018 MediaTek Inc.
>>> - * Author: Ryder Lee <ryder.lee@mediatek.com>
>>> - *
>>> - * This program is free software; you can redistribute it and/or modify
>>> - * it under the terms of the GNU General Public License version 2 and
>>> - * only version 2 as published by the Free Software Foundation.
>>> - *
>>> - * This program is distributed in the hope that it will be useful,
>>> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>> - * GNU General Public License for more details.
>>> - */
>>> +// SPDX-License-Identifier: GPL-2.0
>>> +//
>>> +// mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
>>> +//
>>> +// Copyright (c) 2018 MediaTek Inc.
>>> +// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
>>
>> As we said in the last version, you should not delete Ryder from the author list.
>>
>>>  
>>>  #include <linux/module.h>
>>>  #include <sound/soc.h>
>>> diff --git a/sound/soc/mediatek/mt6797/mt6797-reg.h b/sound/soc/mediatek/mt6797/mt6797-reg.h
>>> index 3330f73fc8bb..ffb55367f59f 100644
>>> --- a/sound/soc/mediatek/mt6797/mt6797-reg.h
>>> +++ b/sound/soc/mediatek/mt6797/mt6797-reg.h
>>> @@ -1,17 +1,9 @@
>>> +/* SPDX-License-Identifier: GPL-2.0 */
>>>  /*
>>>   * mt6797-reg.h  --  Mediatek 6797 audio driver reg definition
>>>   *
>>>   * Copyright (c) 2018 MediaTek Inc.
>>> - * Author: Garlic Tseng <garlic.tseng@mediatek.com>
>>> - *
>>> - * This program is free software; you can redistribute it and/or modify
>>> - * it under the terms of the GNU General Public License version 2 and
>>> - * only version 2 as published by the Free Software Foundation.
>>> - *
>>> - * This program is distributed in the hope that it will be useful,
>>> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>> - * GNU General Public License for more details.
>>> + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
>>
>> Same here, Garlic is an author as well, don't delete him from the comment.
>>
>> Regards,
>> Matthias
>>
>> _______________________________________________
>> Linux-mediatek mailing list
>> Linux-mediatek@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-mediatek
> 
>
Sean Wang April 27, 2018, 9:28 a.m. UTC | #4
On Fri, 2018-04-27 at 17:23 +0800, Sean Wang wrote:
> Ryder and Garlic are not actual authors.
> 
> There are totally copy-n-paste errors on Author fields when KaiChieh is
> making the 1st version.
> 
> also can see
> 
> http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html
> 
> http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html
> 

Correct double link posted, they should be
http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013035.html
http://lists.infradead.org/pipermail/linux-mediatek/2018-April/013036.html


> 
> On Fri, 2018-04-27 at 11:15 +0200, Matthias Brugger wrote:
> > 
> > On 04/27/2018 03:54 AM, KaiChieh Chuang wrote:
> > > Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> > > ---
> > >  sound/soc/mediatek/mt6797/Makefile                 | 13 +------------
> > >  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
> > >  sound/soc/mediatek/mt6797/mt6797-afe-clk.h         | 10 +---------
> > >  sound/soc/mediatek/mt6797/mt6797-afe-common.h      | 10 +---------
> > >  sound/soc/mediatek/mt6797/mt6797-afe-pcm.c         | 21 ++++++---------------
> > >  sound/soc/mediatek/mt6797/mt6797-interconnection.h | 10 +---------
> > >  sound/soc/mediatek/mt6797/mt6797-mt6351.c          | 21 ++++++---------------
> > >  sound/soc/mediatek/mt6797/mt6797-reg.h             | 12 ++----------
> > >  8 files changed, 24 insertions(+), 94 deletions(-)
> > > 
> > 
> > [...]
> > 
> > > diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > > index d42a9d9fbf3e..9e5866d6819a 100644
> > > --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > > +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
> > > @@ -1,18 +1,9 @@
> > > -/*
> > > - * mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> > > - *
> > > - * Copyright (c) 2018 MediaTek Inc.
> > > - * Author: Ryder Lee <ryder.lee@mediatek.com>
> > > - *
> > > - * This program is free software; you can redistribute it and/or modify
> > > - * it under the terms of the GNU General Public License version 2 and
> > > - * only version 2 as published by the Free Software Foundation.
> > > - *
> > > - * This program is distributed in the hope that it will be useful,
> > > - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > > - * GNU General Public License for more details.
> > > - */
> > > +// SPDX-License-Identifier: GPL-2.0
> > > +//
> > > +// mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
> > > +//
> > > +// Copyright (c) 2018 MediaTek Inc.
> > > +// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> > 
> > As we said in the last version, you should not delete Ryder from the author list.
> > 
> > >  
> > >  #include <linux/module.h>
> > >  #include <sound/soc.h>
> > > diff --git a/sound/soc/mediatek/mt6797/mt6797-reg.h b/sound/soc/mediatek/mt6797/mt6797-reg.h
> > > index 3330f73fc8bb..ffb55367f59f 100644
> > > --- a/sound/soc/mediatek/mt6797/mt6797-reg.h
> > > +++ b/sound/soc/mediatek/mt6797/mt6797-reg.h
> > > @@ -1,17 +1,9 @@
> > > +/* SPDX-License-Identifier: GPL-2.0 */
> > >  /*
> > >   * mt6797-reg.h  --  Mediatek 6797 audio driver reg definition
> > >   *
> > >   * Copyright (c) 2018 MediaTek Inc.
> > > - * Author: Garlic Tseng <garlic.tseng@mediatek.com>
> > > - *
> > > - * This program is free software; you can redistribute it and/or modify
> > > - * it under the terms of the GNU General Public License version 2 and
> > > - * only version 2 as published by the Free Software Foundation.
> > > - *
> > > - * This program is distributed in the hope that it will be useful,
> > > - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > > - * GNU General Public License for more details.
> > > + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> > 
> > Same here, Garlic is an author as well, don't delete him from the comment.
> > 
> > Regards,
> > Matthias
> > 
> > _______________________________________________
> > Linux-mediatek mailing list
> > Linux-mediatek@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-mediatek
>
Mark Brown April 27, 2018, 10:41 a.m. UTC | #5
On Fri, Apr 27, 2018 at 09:54:44AM +0800, KaiChieh Chuang wrote:

>  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------

This file doesn't seem to be in -next?
Mark Brown April 27, 2018, 10:55 a.m. UTC | #6
On Fri, Apr 27, 2018 at 11:41:21AM +0100, Mark Brown wrote:
> On Fri, Apr 27, 2018 at 09:54:44AM +0800, KaiChieh Chuang wrote:
> 
> >  sound/soc/mediatek/mt6797/mt6797-afe-clk.c         | 21 ++++++---------------
> 
> This file doesn't seem to be in -next?

Sorry, figured this out.
diff mbox

Patch

diff --git a/sound/soc/mediatek/mt6797/Makefile b/sound/soc/mediatek/mt6797/Makefile
index 58618a0d339a..50fd50f7aa6a 100644
--- a/sound/soc/mediatek/mt6797/Makefile
+++ b/sound/soc/mediatek/mt6797/Makefile
@@ -1,15 +1,4 @@ 
-#
-# Copyright (C) 2018 MediaTek Inc.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
+# SPDX-License-Identifier: GPL-2.0
 
 # platform driver
 snd-soc-mt6797-afe-objs := mt6797-afe-pcm.o mt6797-afe-clk.o
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-clk.c b/sound/soc/mediatek/mt6797/mt6797-afe-clk.c
index f401440b5f70..6f3e6acfcfab 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-clk.c
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-clk.c
@@ -1,18 +1,9 @@ 
-/*
- * mt6797-afe-clk.c  --  Mediatek 6797 afe clock ctrl
- *
- * Copyright (c) 2018 MediaTek Inc.
- * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// mt6797-afe-clk.c  --  Mediatek 6797 afe clock ctrl
+//
+// Copyright (c) 2018 MediaTek Inc.
+// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
 
 #include <linux/clk.h>
 
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-clk.h b/sound/soc/mediatek/mt6797/mt6797-afe-clk.h
index 43d979402f31..a6f0cb572711 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-clk.h
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-clk.h
@@ -1,17 +1,9 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * mt6797-afe-clk.h  --  Mediatek 6797 afe clock ctrl definition
  *
  * Copyright (c) 2018 MediaTek Inc.
  * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _MT6797_AFE_CLK_H_
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-common.h b/sound/soc/mediatek/mt6797/mt6797-afe-common.h
index 3509f53360e2..c1de3fc5dc3d 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-common.h
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-common.h
@@ -1,17 +1,9 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * mt6797-afe-common.h  --  Mediatek 6797 audio driver definitions
  *
  * Copyright (c) 2018 MediaTek Inc.
  * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _MT_6797_AFE_COMMON_H_
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
index 2df7ca4e98da..79a3551eb485 100644
--- a/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
+++ b/sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
@@ -1,18 +1,9 @@ 
-/*
- * Mediatek ALSA SoC AFE platform driver for 6797
- *
- * Copyright (c) 2018 MediaTek Inc.
- * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Mediatek ALSA SoC AFE platform driver for 6797
+//
+// Copyright (c) 2018 MediaTek Inc.
+// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
 
 #include <linux/delay.h>
 #include <linux/module.h>
diff --git a/sound/soc/mediatek/mt6797/mt6797-interconnection.h b/sound/soc/mediatek/mt6797/mt6797-interconnection.h
index 78774cd19383..07b759b20079 100644
--- a/sound/soc/mediatek/mt6797/mt6797-interconnection.h
+++ b/sound/soc/mediatek/mt6797/mt6797-interconnection.h
@@ -1,17 +1,9 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Mediatek MT6797 audio driver interconnection definition
  *
  * Copyright (c) 2018 MediaTek Inc.
  * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _MT6797_INTERCONNECTION_H_
diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
index d42a9d9fbf3e..9e5866d6819a 100644
--- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c
+++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c
@@ -1,18 +1,9 @@ 
-/*
- * mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
- *
- * Copyright (c) 2018 MediaTek Inc.
- * Author: Ryder Lee <ryder.lee@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// mt6797-mt6351.c  --  MT6797 MT6351 ALSA SoC machine driver
+//
+// Copyright (c) 2018 MediaTek Inc.
+// Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
 
 #include <linux/module.h>
 #include <sound/soc.h>
diff --git a/sound/soc/mediatek/mt6797/mt6797-reg.h b/sound/soc/mediatek/mt6797/mt6797-reg.h
index 3330f73fc8bb..ffb55367f59f 100644
--- a/sound/soc/mediatek/mt6797/mt6797-reg.h
+++ b/sound/soc/mediatek/mt6797/mt6797-reg.h
@@ -1,17 +1,9 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * mt6797-reg.h  --  Mediatek 6797 audio driver reg definition
  *
  * Copyright (c) 2018 MediaTek Inc.
- * Author: Garlic Tseng <garlic.tseng@mediatek.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
  */
 
 #ifndef _MT6797_REG_H_