From e9b9a523e79da9bdd7c8ad0d8ab950a50f81f578 Mon Sep 17 00:00:00 2001 From: Eldad Zack Date: Tue, 23 Apr 2013 01:00:42 +0200 Subject: [PATCH] --- yaml --- r: 372062 b: refs/heads/master c: 167d0a11d5feedd1f9cb9ae128ac543e97148eff h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/asihpi/asihpi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b205057ddeee..663161954251 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 74c34ca1cc12884703c70d34ed333517d978c2e7 +refs/heads/master: 167d0a11d5feedd1f9cb9ae128ac543e97148eff diff --git a/trunk/sound/pci/asihpi/asihpi.c b/trunk/sound/pci/asihpi/asihpi.c index 160cf830d327..fbc17203613c 100644 --- a/trunk/sound/pci/asihpi/asihpi.c +++ b/trunk/sound/pci/asihpi/asihpi.c @@ -1141,7 +1141,7 @@ static u64 snd_card_asihpi_capture_formats(struct snd_card_asihpi *asihpi, format, sample_rate, 128000, 0); if (!err) err = hpi_instream_query_format(h_stream, &hpi_format); - if (!err) + if (!err && (hpi_to_alsa_formats[format] != -1)) formats |= pcm_format_to_bits(hpi_to_alsa_formats[format]); } return formats;