Re: [PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Hans Verkuil
On 06/16/2015 10:38 AM, Pablo Anton wrote: This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Signed-off-by: Pablo Anton pablo.an...@veo-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@veo-labs.com After fixing the

Re: [PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-19 Thread Lars-Peter Clausen
On 06/16/2015 10:38 AM, Pablo Anton wrote: This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Looks pretty good. #define ADV76XX_REG(page, offset) (((page) 8) | (offset)) @@ -633,13 +618,15 @@ static int

[PATCH v2] media: i2c: ADV7604: Migrate to regmap

2015-06-16 Thread Pablo Anton
This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Signed-off-by: Pablo Anton pablo.an...@veo-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@veo-labs.com --- v2: Rebase after renaming drivers/media/i2c/adv7604.c | 337