All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Prchal Jiří" <jiri.prchal@aksignal.cz>
Cc: vbarinov@embeddedalley.com, alsa-devel@alsa-project.org,
	sudhakar.raj@ti.com, nsekhar@ti.com, peter.ujfalusi@ti.com,
	mr.swami.reddy@ti.com, lrg@ti.com
Subject: Re: [PATCH v2] ASoC: tlv320aic3x: add missing registers and bits
Date: Wed, 27 Jun 2012 13:01:31 +0100	[thread overview]
Message-ID: <20120627120130.GJ308@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <4FEAA303.5020806@aksignal.cz>


[-- Attachment #1.1: Type: text/plain, Size: 1773 bytes --]

On Wed, Jun 27, 2012 at 08:06:59AM +0200, Prchal Jiří wrote:
> Second version of patch keeping formatting.
> Adds missing register default values to cache.
> Adds register and bits definitions in header file.

> Changes are for TLV320AIC310x based on data sheet.

I tried to apply it but it doesn't apply, git am says:

error: home/prchal/arm/fw-cdu/linux/linux-3.5-rc3/sound/soc/codecs/tlv320aic3x.c.new: does not exist in index

which is because:

> --- /home/prchal/arm/fw-cdu/linux/linux-3.5-rc3/sound/soc/codecs/tlv320aic3x.c.orig
> +++ /home/prchal/arm/fw-cdu/linux/linux-3.5-rc3/sound/soc/codecs/tlv320aic3x.c.new

Please format the patch as covered in SubmittingPatches, it should be
something that can be applied patch -p1.  Also...

> @@ -122,7 +122,9 @@
>  	0x00, 0x00, 0x00, 0x00,	/* 88 */
>  	0x00, 0x00, 0x00, 0x00,	/* 92 */
>  	0x00, 0x00, 0x00, 0x00,	/* 96 */
> -	0x00, 0x00, 0x02,	/* 100 */
> +	0x00, 0x00, 0x02, 0x00,	/* 100 */
> +	0x00, 0x00, 0x00, 0x00,	/* 104 */
> +	0x00, 0x00,             /* 108 */
>  };

This is a lot clearer, your changelog (and the previous submission)
suggested that there may be some errors in the register default values
since you were talking about missing bits but really all you're doing is
adding new registers which is a bit different to correcting mistakes.

The "missing bits" here are instead just:

> @@ -74,6 +74,8 @@
>  #define HPLCOM_CFG			37
>  /* Right High Power Output control registers */
>  #define HPRCOM_CFG			38
> +/* High Power Output Stage Control Register */
> +#define HPOUT_SC			40
>  /* DAC Output Switching control registers */
>  #define DAC_LINE_MUX			41
>  /* High Power Output Driver Pop Reduction registers */

these new defines in the header.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2012-06-27 12:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  6:06 [PATCH v2] ASoC: tlv320aic3x: add missing registers and bits Prchal Jiří
2012-06-27 12:01 ` Mark Brown [this message]
2012-06-27 13:01   ` [PATCH v3] " Prchal Jiří
2012-07-01 18:31     ` Mark Brown
2012-07-03  9:41   ` [PATCH] " Prchal Jiří
2012-07-03 18:53     ` 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=20120627120130.GJ308@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=jiri.prchal@aksignal.cz \
    --cc=lrg@ti.com \
    --cc=mr.swami.reddy@ti.com \
    --cc=nsekhar@ti.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=sudhakar.raj@ti.com \
    --cc=vbarinov@embeddedalley.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.