author | Angela Stegmaier <angelabaker@ti.com> | |
Fri, 12 Jul 2013 20:17:34 +0000 (15:17 -0500) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Mon, 22 Jul 2013 20:04:18 +0000 (15:04 -0500) | ||
commit | c46ee17381911655894b2f1d78f2e187f3db2c1e | |
tree | c70d616f006fa501640bdaaf58bde6876a3fa4f4 | tree | snapshot (tar.xz tar.gz zip) |
parent | 13b25a428ba2656d0d6ae2bd242a772e88850aba | commit | diff |
ASoC: davinci-mcasp: Add hw_rule for buffer_size when using AFIFO
The AFIFO threshold imposes a limiation on the buffer size.
When the AFIFO is used, the buffer size (in samples) needs to be
an integer multiple of the AFIFO threshold value (wnumevt, rnumevt).
This patch adds a hw_rule to the McASP driver for version 4
of the McASP to account for the limitation on the buffer size.
Change-Id: I3bd320130b10a55d3d84defd99572526ad6469fb
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The AFIFO threshold imposes a limiation on the buffer size.
When the AFIFO is used, the buffer size (in samples) needs to be
an integer multiple of the AFIFO threshold value (wnumevt, rnumevt).
This patch adds a hw_rule to the McASP driver for version 4
of the McASP to account for the limitation on the buffer size.
Change-Id: I3bd320130b10a55d3d84defd99572526ad6469fb
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
sound/soc/davinci/davinci-mcasp.c | diff | blob | history |