]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: use dev_err() when detecting incoming streaming error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 22 May 2015 14:21:13 +0000 (23:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 24 May 2015 06:23:43 +0000 (08:23 +0200)
commitdba84035c3580c03086f3c9331fd8f57954f69aa
tree9bb2576dd6a9242cd9411390b0e01462fd5d3ecb
parentc16d965c62f8e854983e393547d89448c3a9bd60
ALSA: firewire-lib: use dev_err() when detecting incoming streaming error

When detecting invalid value in 'dbs' field of CIP header or packet
discontinuity, current implementation reports the status by err_info().
In most cases this state is caused by model-specific issue due to
vendor's customization and should be reported to developers.

This commit use dev_err() instead of dev_info() for this purpose.
In the cases, packet streaming is aborted, thus no message floading
occurs.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c