aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/soundbus/i2sbus/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/aoa/soundbus/i2sbus/pcm.c')
-rw-r--r--sound/aoa/soundbus/i2sbus/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/i2sbus/pcm.c b/sound/aoa/soundbus/i2sbus/pcm.c
index 19491ed9292f..7b74a4ba75f8 100644
--- a/sound/aoa/soundbus/i2sbus/pcm.c
+++ b/sound/aoa/soundbus/i2sbus/pcm.c
@@ -179,7 +179,7 @@ static int i2sbus_pcm_open(struct i2sbus_dev *i2sdev, int in)
179 */ 179 */
180 if (other->active) { 180 if (other->active) {
181 /* FIXME: is this guaranteed by the alsa api? */ 181 /* FIXME: is this guaranteed by the alsa api? */
182 hw->formats &= (1ULL << i2sdev->format); 182 hw->formats &= pcm_format_to_bits(i2sdev->format);
183 /* see above, restrict rates to the one we already have */ 183 /* see above, restrict rates to the one we already have */
184 hw->rate_min = i2sdev->rate; 184 hw->rate_min = i2sdev->rate;
185 hw->rate_max = i2sdev->rate; 185 hw->rate_max = i2sdev->rate;