OSDN Git Service

pcm: route: Don't handle no matching chmap as a serious error
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Mar 2014 14:23:09 +0000 (15:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Mar 2014 14:23:09 +0000 (15:23 +0100)
commit5b72e3d5305930bffc300aa4f2545ba95992c144
tree74d01fa8b384e790e2c35b7bba75be4189e1b108
parentcbcc78031b676413265719113c7109481fa0242d
pcm: route: Don't handle no matching chmap as a serious error

When find_matching_chmap() returns an error for the non-matching
chmap, the caller, snd_pcm_route_open(), also returns an error
although it shouldn't be handled as the fatal error.  This results in
the probe error with PulseAudio and it gives no real output in the
end.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_route.c