From c6063f0ac4917bbfa9ec91f56247d6ed2e4725b9 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 27 Aug 2007 22:18:39 +0000 Subject: Ignore error so hsp device can work for unpatched kernels. --- audio/pcm_bluetooth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index e0264018..734eae7f 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -305,7 +305,8 @@ static int bluetooth_hsp_hw_params(snd_pcm_ioplug_t *io, SNDERR("%s (%d)", strerror(err), err); - return -err; + /* FIXME: We should not ignores errors on future. */ + return 0; } static int bluetooth_a2dp_hw_params(snd_pcm_ioplug_t *io, -- cgit