commit | 2617120f4de6d0423384e0e86b14c78b9de84d5a | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Tue Sep 10 22:51:51 2019 +0900 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Sep 10 16:16:00 2019 +0200 |
tree | dbc3f4d365e4f25c42d4ccc0e25dc5bf5ff79787 | |
parent | 2a36c16efab254dd6017efeb35ad88ecc96f2328 [diff] |
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>