[alsa-devel] [PATCH 2/3] ASoC: codecs: adau1701: switch to direct regmap API usage
Daniel Mack
zonque at gmail.com
Fri Jun 21 09:31:30 CEST 2013
On 21.06.2013 09:28, Lars-Peter Clausen wrote:
> On 06/20/2013 07:29 PM, Daniel Mack wrote:
>> The hardware I/O has to be open-coded due to registers of unequal sizes.
>> Other than that, the transition is straight forward.
>>
>> Signed-off-by: Daniel Mack <zonque at gmail.com>
>
> Acked-by: Lars-Peter Clausen <lars at metafoo.de>
>
> Thanks. One minor nitpick though.
>
>> ---
> [...]
>> + msgs[0].addr = client->addr;
>> + msgs[0].len = sizeof(send_buf);
>> + msgs[0].buf = send_buf;
>> + msgs[0].flags = 0;
>> +
>> + msgs[1].addr = client->addr;
>> + msgs[1].len = size;
>> + msgs[1].buf = recv_buf;
>> + msgs[1].flags = I2C_M_RD | I2C_M_STOP;
>
> We don't need to set a explicit stop flag for the last message in the transfer.
>
Right. I'll send a v3 of the entire series. Hang on.
More information about the Alsa-devel
mailing list