Re: [PATCH 2/2] ALSA: firewire-tascam: check intermediate state of clock status and retry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Sep 2019 15:51:52 +0200,
Takashi Sakamoto wrote:
> 
> 2 bytes in MSB of register for clock status is zero during intermediate
> state after changing status of sampling clock in models of TASCAM FireWire
> series. The duration of this state differs depending on cases. During the
> state, it's better to retry reading the register for current status of
> the clock.
> 
> In current implementation, the intermediate state is checked only when
> getting current sampling transmission frequency, then retry reading.
> This care is required for the other operations to read the register.
> 
> This commit moves the codes of check and retry into helper function
> commonly used for operations to read the register.
> 
> Fixes: e453df44f0d6 ("ALSA: firewire-tascam: add PCM functionality")
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.4+
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux