d1: add new target
[openwrt/staging/mans0n.git] / target / linux / d1 / patches-6.1 / 0047-ASoC-sun4i-i2s-Also-set-capture-DMA-width.patch
1 From 419b337ac3e60126f9de0bc98892e54a8ffe3b6e Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sun, 13 Jun 2021 23:50:57 -0500
4 Subject: [PATCH 047/117] ASoC: sun4i-i2s: Also set capture DMA width
5
6 Signed-off-by: Samuel Holland <samuel@sholland.org>
7 ---
8 sound/soc/sunxi/sun4i-i2s.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/sound/soc/sunxi/sun4i-i2s.c
12 +++ b/sound/soc/sunxi/sun4i-i2s.c
13 @@ -633,6 +633,7 @@ static int sun4i_i2s_hw_params(struct sn
14 params_physical_width(params));
15 return -EINVAL;
16 }
17 + i2s->capture_dma_data.addr_width = width;
18 i2s->playback_dma_data.addr_width = width;
19
20 sr = i2s->variant->get_sr(word_size);