Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 1207cd0e107ae58a376056ae5c8ae60a04950b0e Mon Sep 17 00:00:00 2001
- From: Florian Meier <florian.meier@koalo.de>
- Date: Tue, 10 Jun 2014 15:23:44 +0200
- Subject: [PATCH] Fourchannel support
- ---
- sound/soc/codecs/arizona.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
- diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
- index f5e9285..62bfb00 100644
- --- a/sound/soc/codecs/arizona.c
- +++ b/sound/soc/codecs/arizona.c
- @@ -10,6 +10,8 @@
- * published by the Free Software Foundation.
- */
- +#define DEBUG
- +
- #include <linux/delay.h>
- #include <linux/gcd.h>
- #include <linux/module.h>
- @@ -1082,7 +1084,8 @@ static int arizona_hw_params(struct snd_pcm_substream *substream,
- arizona_aif_dbg(dai, "BCLK %dHz LRCLK %dHz\n",
- rates[bclk], rates[bclk] / lrclk);
- - wl = snd_pcm_format_width(params_format(params));
- + //wl = snd_pcm_format_width(params_format(params));
- + wl = snd_pcm_format_width(params_format(params))/2;
- frame = wl << ARIZONA_AIF1TX_WL_SHIFT | wl;
- ret = arizona_hw_params_rate(substream, params, dai);
- --
- 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement