All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Olli Salonen <olli.salonen@iki.fi>, linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] saa7164: change Si2168 reglen to 0 bit
Date: Sat, 06 Jun 2015 12:10:45 +0300	[thread overview]
Message-ID: <5572B915.5080102@iki.fi> (raw)
In-Reply-To: <1433576698-1780-1-git-send-email-olli.salonen@iki.fi>

On 06/06/2015 10:44 AM, Olli Salonen wrote:
> The i2c_reg_len for Si2168 should be 0 for correct I2C communication.
>
> Signed-off-by: Olli Salonen <olli.salonen@iki.fi>

Reviewed-by: Antti Palosaari <crope@iki.fi>

PS. As I mentioned few times already, that kind I2C client register map 
layout information does not belongs to adapter level at all. I wonder 
why it is here. Likely some further clean-ups are possible.

regards
Antti


> ---
>   drivers/media/pci/saa7164/saa7164-cards.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/pci/saa7164/saa7164-cards.c b/drivers/media/pci/saa7164/saa7164-cards.c
> index 8a6455d..c2b7382 100644
> --- a/drivers/media/pci/saa7164/saa7164-cards.c
> +++ b/drivers/media/pci/saa7164/saa7164-cards.c
> @@ -621,7 +621,7 @@ struct saa7164_board saa7164_boards[] = {
>   			.name		= "SI2168-1",
>   			.i2c_bus_nr	= SAA7164_I2C_BUS_2,
>   			.i2c_bus_addr	= 0xc8 >> 1,
> -			.i2c_reg_len	= REGLEN_8bit,
> +			.i2c_reg_len	= REGLEN_0bit,
>   		}, {
>   			.id		= 0x25,
>   			.type		= SAA7164_UNIT_TUNER,
> @@ -635,7 +635,7 @@ struct saa7164_board saa7164_boards[] = {
>   			.name		= "SI2168-2",
>   			.i2c_bus_nr	= SAA7164_I2C_BUS_2,
>   			.i2c_bus_addr	= 0xcc >> 1,
> -			.i2c_reg_len	= REGLEN_8bit,
> +			.i2c_reg_len	= REGLEN_0bit,
>   		} },
>   	},
>   };
>

-- 
http://palosaari.fi/

  parent reply	other threads:[~2015-06-06  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06  7:44 [PATCH 1/2] saa7164: change Si2168 reglen to 0 bit Olli Salonen
2015-06-06  7:44 ` [PATCH 2/2] Revert "[media] saa7164: Improvements for I2C handling" Olli Salonen
2015-06-06  9:11   ` Antti Palosaari
2015-06-11 19:48   ` Steven Toth
2015-06-06  9:10 ` Antti Palosaari [this message]
2015-06-11 19:46 ` [PATCH 1/2] saa7164: change Si2168 reglen to 0 bit Steven Toth

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=5572B915.5080102@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=olli.salonen@iki.fi \
    /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.