From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Lee Jones <lee.jones@linaro.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 06/12] mfd: wm97xx-core: core support for wm97xx Codec
Date: Fri, 11 Aug 2017 21:08:22 +0200 [thread overview]
Message-ID: <87bmnlq5w9.fsf@belgarion.home> (raw)
In-Reply-To: <20170808110204.dt7bjfwkyfpbfr2w@dell>
Lee Jones <lee.jones@linaro.org> writes:
> On Sun, 06 Aug 2017, Robert Jarzmik wrote:
Hi Lee,
I basically agree with all your comments, so I will only answer to your
questions.
>> +#include <linux/module.h>
>
> Why separate this?
No point, for v6.
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License as published by
>> + * the Free Software Foundation; either version 2 of the License, or
>> + * (at your option) any later version.
>> + *
>> + * 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.
>
> Can you use the short version?
Yeah, sure.
>> +#ifndef __LINUX_MFD_WM97XX_H
>> +#define __LINUX_MFD_WM97XX_H
>> +
>> +struct regmap;
>> +struct wm97xx_batt_pdata;
>> +struct snd_ac97;
>
> What are you using these for?
There are for the structure just below, which doesn't need the implementation
details of these structures, but does need the definition to properly compile.
>> +struct wm97xx_platform_data {
>> + struct snd_ac97 *ac97;
>> + struct regmap *regmap;
>> + struct wm97xx_batt_pdata *batt_pdata;
>> +};
This is the structure "just below" I'm speaking of.
Thanks for the review.
--
Robert
next prev parent reply other threads:[~2017-08-11 19:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-06 21:36 [PATCH v5 00/12] AC97 device/driver model revamp Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 01/12] ALSA: ac97: split out the generic ac97 registers Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 02/12] ALSA: ac97: add an ac97 bus Robert Jarzmik
2017-09-04 17:25 ` Applied "ALSA: ac97: add an ac97 bus" to the asoc tree Mark Brown
2017-08-06 21:36 ` [PATCH v5 03/12] ASoC: add new ac97 bus support Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 04/12] ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 05/12] Input: wm97xx: split out touchscreen registering Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 06/12] mfd: wm97xx-core: core support for wm97xx Codec Robert Jarzmik
2017-08-08 11:02 ` Lee Jones
2017-08-11 19:08 ` Robert Jarzmik [this message]
2017-08-06 21:36 ` [PATCH v5 07/12] Input: wm97xx: add new AC97 bus support Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 08/12] ASoC: wm9713: add ac97 new " Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 09/12] ASoC: wm9712: " Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 10/12] ASoC: wm9705: add private structure Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 11/12] ASoC: wm9705: add ac97 new bus support Robert Jarzmik
2017-08-06 21:36 ` [PATCH v5 12/12] ASoC: pxa: switch to new ac97 " Robert Jarzmik
2017-08-23 19:33 ` [PATCH v5 00/12] AC97 device/driver model revamp Robert Jarzmik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmnlq5w9.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=daniel@zonque.org \
--cc=dmitry.torokhov@gmail.com \
--cc=haojian.zhuang@gmail.com \
--cc=lars@metafoo.de \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.wolfsonmicro.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®