linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: Fix tcs3472 buffer size
Date: Sun, 15 Sep 2013 17:54:53 +0100	[thread overview]
Message-ID: <5235E65D.4040700@kernel.org> (raw)
In-Reply-To: <1379260356-25851-1-git-send-email-pmeerw@pmeerw.net>

On 09/15/13 16:52, Peter Meerwald wrote:
> and drop obsolete #define
> 
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Oops, applied to the togreg branch of iio.git

Thanks for the fast fix up.
> ---
>  drivers/iio/light/tcs3472.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c
> index 95510bd..dc7d823 100644
> --- a/drivers/iio/light/tcs3472.c
> +++ b/drivers/iio/light/tcs3472.c
> @@ -55,12 +55,9 @@ struct tcs3472_data {
>  	u8 enable;
>  	u8 control;
>  	u8 atime;
> -	u16 buffer[4];
> +	u16 buffer[8]; /* 4 16-bit channels + 64-bit timestamp */
>  };
>  
> -/* 4 16-bit channels + timestamp = 16 bytes */
> -#define TSL3472_BUFFER_SIZE 16
> -
>  #define TCS3472_CHANNEL(_color, _si, _addr) { \
>  	.type = IIO_INTENSITY, \
>  	.modified = 1, \
> 

      reply	other threads:[~2013-09-15 15:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-08 15:20 [PATCH 0/4] add INT_TIME and drivers using it Peter Meerwald
2013-09-08 15:20 ` [PATCH 1/4] iio: Add INT_TIME (integration time) channel info attribute Peter Meerwald
2013-09-14 11:11   ` Jonathan Cameron
2013-09-08 15:20 ` [PATCH 2/4] iio: adjd_s311: Use INT_TIME channel info Peter Meerwald
2013-09-14 11:15   ` Jonathan Cameron
2013-09-08 15:20 ` [PATCH 3/4] iio: Add tsl4531 ambient light sensor driver Peter Meerwald
2013-09-14 11:21   ` Jonathan Cameron
2013-09-14 19:13     ` Peter Meerwald
2013-09-14 20:18       ` Jonathan Cameron
2013-09-08 15:20 ` [PATCH 4/4] iio: Add tcs3472 color " Peter Meerwald
2013-09-14 11:42   ` Jonathan Cameron
2013-09-14 19:38     ` [PATCH v2] " Peter Meerwald
2013-09-14 20:46       ` Jonathan Cameron
2013-09-15 15:51         ` Peter Meerwald
2013-09-15 15:52         ` [PATCH] iio: Fix tcs3472 buffer size Peter Meerwald
2013-09-15 16:54           ` Jonathan Cameron [this message]

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=5235E65D.4040700@kernel.org \
    --to=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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).