[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dcca62da-db80-5081-4552-2a010b307656@codethink.co.uk>
Date: Mon, 30 Jul 2018 17:05:47 +0100
From: Jorge <jorge.sanjuan@...ethink.co.uk>
To: Takashi Iwai <tiwai@...e.de>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/4] ALSA: usb-audio: Initial Power Domain support
On 30/07/18 14:03, Takashi Iwai wrote:
> On Mon, 30 Jul 2018 11:23:33 +0200,
> Jorge Sanjuan wrote:
>>
>> diff --git a/include/linux/usb/audio-v3.h b/include/linux/usb/audio-v3.h
>> index 334bfa6dfb47..786e5939d831 100644
>> --- a/include/linux/usb/audio-v3.h
>> +++ b/include/linux/usb/audio-v3.h
>> @@ -447,4 +447,8 @@ struct uac3_interrupt_data_msg {
>> /* BADD sample rate is always fixed to 48kHz */
>> #define UAC3_BADD_SAMPLING_RATE 48000
>>
>> +/* BADD power domains recovery times */
>> +#define UAC3_BADD_PD_RECOVER_D1D0 0x0258
>> +#define UAC3_BADD_PD_RECOVER_D2D0 0x1770
>
> Please put the unit for these values. I guess they don't need to be
> hex?
>
Hi!
The BADD spec defines these inferred values as hex (see section 6.2.2.13
of the spec). Should we keep them as per spec to avoid confusion? I'll
update comment there with the units (50 us increments).
Thanks for the reviews today. I'll update this series soon with the
suggested changes.
Jorge
>
> Takashi
>
Powered by blists - more mailing lists