devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Varka Bhadram <varkabhadram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Brian Austin <brian.austin-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org>
Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Subject: Re: [PATCH v3 1/2] ASoC: Add support for CS35L32 Boosted Amplifier
Date: Tue, 05 Aug 2014 20:03:04 +0530	[thread overview]
Message-ID: <53E0EB20.7040800@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1408050928220.7394@heelrod>


On Tuesday 05 August 2014 08:01 PM, Brian Austin wrote:
> On Mon, 4 Aug 2014, Varka Bhadram wrote:
>
>> On 08/05/2014 01:41 AM, Brian Austin wrote:
>>> +#include <linux/module.h>
>>> +#include <linux/moduleparam.h>
>>> +#include <linux/version.h>
>>> +#include <linux/kernel.h>
>>> +#include <linux/init.h>
>>> +#include <linux/delay.h>
>>> +#include <linux/i2c.h>
>>> +#include <linux/gpio.h>
>>> +#include <linux/regmap.h>
>>> +#include <linux/slab.h>
>>> +#include <linux/platform_device.h>
>>> +#include <linux/regulator/consumer.h>
>>> +#include <linux/gpio/consumer.h>
>>> +#include <linux/of_device.h>
>>> +#include <linux/slab.h>
>>> +#include <sound/core.h>
>>> +#include <sound/pcm.h>
>>> +#include <sound/pcm_params.h>
>>> +#include <sound/soc.h>
>>> +#include <sound/soc-dapm.h>
>>> +#include <sound/initval.h>
>>> +#include <sound/tlv.h>
>>> +#include <dt-bindings/sound/cs35l32.h>
>>> +
>>> +#include "cs35l32.h"
>>> +
>> includes in alphabetical order...
> I don't think that applies to included files outside of standard include
> directories does it?
>>> +{
>>> +	struct snd_soc_codec *codec = dai->codec;
>>> +
>>> +	return snd_soc_update_bits(codec, CS35L32_PWRCTL2,
>>> +					CS35L32_SDOUT_3ST, tristate << 3);
>> return snd_soc_update_bits(codec, CS35L32_PWRCTL2,
>> 			   CS35L32_SDOUT_3ST, tristate << 3);
>>
> If that is a style issue for submission checkpatch should warn on this
> correct?
>
>> should match open parenthesis's...
>>
>>   devm_kzalloc(&i2c_client->dev,
>> 	      sizeof(struct cs35l32_platform_data),
>> 	      GFP_KERNEL);
>>
> checkpatch?
>
checkpatch should generate warning for this...


-- 
-Varka Bhadram

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-08-05 14:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 20:11 [PATCH v3 1/2] ASoC: Add support for CS35L32 Boosted Amplifier Brian Austin
     [not found] ` <1407183077-23807-1-git-send-email-brian.austin-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org>
2014-08-04 20:11   ` [PATCH v3 2/2] Documentation: dt: bindings: sound: Add bindings for CS35L32 Brian Austin
     [not found]     ` <1407183077-23807-2-git-send-email-brian.austin-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org>
2014-08-05  4:01       ` Varka Bhadram
     [not found]         ` <53E05737.3000601-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-05 14:28           ` Brian Austin
2014-08-05 14:36             ` Varka Bhadram
     [not found]               ` <53E0EBE6.9050407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-05 14:45                 ` Brian Austin
2014-08-05  3:49   ` [PATCH v3 1/2] ASoC: Add support for CS35L32 Boosted Amplifier Varka Bhadram
     [not found]     ` <53E05458.6080605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-05 14:31       ` Brian Austin
2014-08-05 14:33         ` Varka Bhadram [this message]
     [not found]           ` <53E0EB20.7040800-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-05 14:38             ` [alsa-devel] " Lars-Peter Clausen
2014-08-05 14:42             ` Brian Austin
2014-08-06 19:43   ` Mark Brown

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=53E0EB20.7040800@gmail.com \
    --to=varkabhadram-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=brian.austin-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).