2024-01-10 09:45:32

by Vijendar Mukunda

[permalink] [raw]
Subject: [PATCH V2 02/13] drivers: soundwire: amd: update license

Update license to dual license to align with Sound Open Firmware (SOF)
driver as SOF uses dual license.

Signed-off-by: Vijendar Mukunda <[email protected]>
---
drivers/soundwire/amd_manager.c | 4 ++--
drivers/soundwire/amd_manager.h | 2 +-
include/linux/soundwire/sdw_amd.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/soundwire/amd_manager.c b/drivers/soundwire/amd_manager.c
index 3a99f6dcdfaf..afa2d83b7e69 100644
--- a/drivers/soundwire/amd_manager.c
+++ b/drivers/soundwire/amd_manager.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/*
* SoundWire AMD Manager driver
*
@@ -1207,5 +1207,5 @@ module_platform_driver(amd_sdw_driver);

MODULE_AUTHOR("[email protected]");
MODULE_DESCRIPTION("AMD SoundWire driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual BSD/GPL");
MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/drivers/soundwire/amd_manager.h b/drivers/soundwire/amd_manager.h
index 5f040151a259..f57165bbb9d9 100644
--- a/drivers/soundwire/amd_manager.h
+++ b/drivers/soundwire/amd_manager.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
/*
* Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
*/
diff --git a/include/linux/soundwire/sdw_amd.h b/include/linux/soundwire/sdw_amd.h
index 41dd64941cef..56b4117c087a 100644
--- a/include/linux/soundwire/sdw_amd.h
+++ b/include/linux/soundwire/sdw_amd.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
/*
* Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
*/
--
2.34.1



2024-01-22 07:34:29

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH V2 02/13] drivers: soundwire: amd: update license

On 10-01-24, 15:14, Vijendar Mukunda wrote:

Why is the title "drivers: soundwire: "

git log drivers/soundwire/amd*
Tells me you didnt do that in past why now..?

> Update license to dual license to align with Sound Open Firmware (SOF)
> driver as SOF uses dual license.
>
> Signed-off-by: Vijendar Mukunda <[email protected]>
> ---
> drivers/soundwire/amd_manager.c | 4 ++--
> drivers/soundwire/amd_manager.h | 2 +-
> include/linux/soundwire/sdw_amd.h | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/soundwire/amd_manager.c b/drivers/soundwire/amd_manager.c
> index 3a99f6dcdfaf..afa2d83b7e69 100644
> --- a/drivers/soundwire/amd_manager.c
> +++ b/drivers/soundwire/amd_manager.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+
> +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
> /*
> * SoundWire AMD Manager driver
> *
> @@ -1207,5 +1207,5 @@ module_platform_driver(amd_sdw_driver);
>
> MODULE_AUTHOR("[email protected]");
> MODULE_DESCRIPTION("AMD SoundWire driver");
> -MODULE_LICENSE("GPL");
> +MODULE_LICENSE("Dual BSD/GPL");
> MODULE_ALIAS("platform:" DRV_NAME);
> diff --git a/drivers/soundwire/amd_manager.h b/drivers/soundwire/amd_manager.h
> index 5f040151a259..f57165bbb9d9 100644
> --- a/drivers/soundwire/amd_manager.h
> +++ b/drivers/soundwire/amd_manager.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
> /*
> * Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
> */
> diff --git a/include/linux/soundwire/sdw_amd.h b/include/linux/soundwire/sdw_amd.h
> index 41dd64941cef..56b4117c087a 100644
> --- a/include/linux/soundwire/sdw_amd.h
> +++ b/include/linux/soundwire/sdw_amd.h
> @@ -1,4 +1,4 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
> /*
> * Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
> */
> --
> 2.34.1

--
~Vinod

2024-01-22 07:40:54

by Vijendar Mukunda

[permalink] [raw]
Subject: Re: [PATCH V2 02/13] drivers: soundwire: amd: update license

On 22/01/24 13:04, Vinod Koul wrote:
> On 10-01-24, 15:14, Vijendar Mukunda wrote:
>
> Why is the title "drivers: soundwire: "
>
> git log drivers/soundwire/amd*
> Tells me you didnt do that in past why now..?
Sorry It's my bad. I supposed to use tag soundwire:amd
will correct it and re spin the patch set.
>
>> Update license to dual license to align with Sound Open Firmware (SOF)
>> driver as SOF uses dual license.
>>
>> Signed-off-by: Vijendar Mukunda <[email protected]>
>> ---
>> drivers/soundwire/amd_manager.c | 4 ++--
>> drivers/soundwire/amd_manager.h | 2 +-
>> include/linux/soundwire/sdw_amd.h | 2 +-
>> 3 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/soundwire/amd_manager.c b/drivers/soundwire/amd_manager.c
>> index 3a99f6dcdfaf..afa2d83b7e69 100644
>> --- a/drivers/soundwire/amd_manager.c
>> +++ b/drivers/soundwire/amd_manager.c
>> @@ -1,4 +1,4 @@
>> -// SPDX-License-Identifier: GPL-2.0+
>> +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
>> /*
>> * SoundWire AMD Manager driver
>> *
>> @@ -1207,5 +1207,5 @@ module_platform_driver(amd_sdw_driver);
>>
>> MODULE_AUTHOR("[email protected]");
>> MODULE_DESCRIPTION("AMD SoundWire driver");
>> -MODULE_LICENSE("GPL");
>> +MODULE_LICENSE("Dual BSD/GPL");
>> MODULE_ALIAS("platform:" DRV_NAME);
>> diff --git a/drivers/soundwire/amd_manager.h b/drivers/soundwire/amd_manager.h
>> index 5f040151a259..f57165bbb9d9 100644
>> --- a/drivers/soundwire/amd_manager.h
>> +++ b/drivers/soundwire/amd_manager.h
>> @@ -1,4 +1,4 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
>> /*
>> * Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
>> */
>> diff --git a/include/linux/soundwire/sdw_amd.h b/include/linux/soundwire/sdw_amd.h
>> index 41dd64941cef..56b4117c087a 100644
>> --- a/include/linux/soundwire/sdw_amd.h
>> +++ b/include/linux/soundwire/sdw_amd.h
>> @@ -1,4 +1,4 @@
>> -/* SPDX-License-Identifier: GPL-2.0+ */
>> +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
>> /*
>> * Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
>> */
>> --
>> 2.34.1