aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/Kconfig
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-05-22 23:21:14 +0900
committerTakashi Iwai <tiwai@suse.de>2015-05-24 08:23:58 +0200
commita900705491e6f377966711aa95df753b5ae16dd3 (patch)
tree02ae73213b38a6cf58757233822f8ae35ce8484e /sound/firewire/Kconfig
parentALSA: firewire-lib: use dev_err() when detecting incoming streaming error (diff)
downloadwireguard-linux-a900705491e6f377966711aa95df753b5ae16dd3.tar.xz
wireguard-linux-a900705491e6f377966711aa95df753b5ae16dd3.zip
ALSA: firewire-lib: use protocol error when detecting wrong value in CIP header
When detecting zero in 'dbs' field of CIP header, this packet streaming should be aborted because of avoiding division-by-zero. This is an error in an aspect of IEC 61883-1, thus protocol error. This commit use EPROTO instead of EIO. Actually, the returned value is not used for userspace and this commit has no effect. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/Kconfig')
0 files changed, 0 insertions, 0 deletions