~diwic/alsa-driver/snd-firewire-improve

Viewing all changes in revision 1304.

  • Committer: Takashi Sakamoto
  • Date: 2019-09-10 23:17:33 UTC
  • Revision ID: git-v1:ed34e964c009fba865511dff3daeb2569f3aa7f8
ALSA: firewire-tascam: handle error code when getting current source of clock

The return value of snd_tscm_stream_get_clock() is ignored. This commit
checks the value and handle error.

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-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: