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)
commit12e0f438d312fd40815249198ec1e4f3abddacc5
tree9bb2576dd6a9242cd9411390b0e01462fd5d3ecb
parent9a2820c1189bd3165accd7663783e32935bb9055
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