summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-08-27 22:18:39 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-08-27 22:18:39 +0000
commitc6063f0ac4917bbfa9ec91f56247d6ed2e4725b9 (patch)
treece871f99e6bdbd9521ba8ce15d3f242aeece3fc1 /audio
parent6d146609b5f7e47d312c5b4edfd8db55e8f2aa55 (diff)
Ignore error so hsp device can work for unpatched kernels.
Diffstat (limited to 'audio')
-rw-r--r--audio/pcm_bluetooth.c3
1 files changed, 2 insertions, 1 deletions
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,