diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-09-10 22:51:51 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 15:12:14 +0200 |
commit | d714bc1461c674983d666dbdbfd02b53e5f582ed (patch) | |
tree | 91e53ce2af98537d42907ff7913a95ae974ab126 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 3a0b7157d6a9833cefd40b5f0fa1cc90285bb4b5 (diff) |
ALSA: firewire-tascam: handle error code when getting current source of clock
commit 2617120f4de6d0423384e0e86b14c78b9de84d5a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions