summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-09-10 22:51:52 +0900
committerTakashi Iwai <tiwai@suse.de>2019-09-10 16:16:46 +0200
commite1a00b5b253a4f97216b9a33199a863987075162 (patch)
tree160710c7527cbd1e503560557936aa82b1804046 /sound/i2c
parent2617120f4de6d0423384e0e86b14c78b9de84d5a (diff)
ALSA: firewire-tascam: check intermediate state of clock status and retry
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@vger.kernel.org> # v4.4+ Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20190910135152.29800-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions