lkml.org 
[lkml]   [2015]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] ASoC: Add support for NAU8824 codec to ASoC
From
Date
Chih-Chiang Chang schreef op wo 04-03-2015 om 20:53 [+0800]:
> From fe37688e226f83ba477a3c2fbc1e64946cd4ec4e Mon Sep 17 00:00:00 2001
> From: Chih-Chiang Chang <ccchang12@nuvoton.com>
> Date: Wed, 4 Mar 2015 20:03:21 +0800
> Subject: [PATCH v2] ASoC: Add support for NAU8824 codec to ASoC

It seems that none of those lines were needed.

> --- /dev/null
> +++ b/include/sound/nau8824.h
> @@ -0,0 +1,22 @@
> +/*
> + * linux/sound/nau8824.h -- Platform data for NAU8824
> + *
> + * Copyright 2015 Nuvoton Technology Corp.
> + *
> + * 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.
> + */
> +
> +#ifndef __LINUX_SND_NAU8824_H
> +#define __LINUX_SND_NAU8824_H
> +
> +struct nau8824_platform_data {
> + unsigned int audio_mclk1;
> + unsigned int gpio_irq;
> + int naudint_irq;
> + int headset_detect;
> + int button_press_detect;
> +};
> +
> +#endif

In the future something other than just sound/soc/codecs/nau8824.h is
going to include this header, right?

> --- /dev/null
> +++ b/sound/soc/codecs/nau8824.c
> @@ -0,0 +1,807 @@
> +/*
> + * linux/sound/soc/codecs/nau8824.c
> + *
> + * Copyright 2015 Nuvoton Technology Corp.
> + * Author: Meng-Huang Kuo <mhkuo@nuvoton.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 as
> + * published by the Free Software Foundation.
> + */

This states the license is GPL v2. (So do the two headers this patch
adds.)

> +MODULE_LICENSE("GPL");

So that should probably be
MODULE_LICENSE("GPL v2");


Paul Bolle



\
 
 \ /
  Last update: 2015-03-04 23:41    [W:0.074 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site