linux_dsm_epyc7002/sound/soc
Ben Gardiner 0a9d138528 ASoC: davinci-mcasp: add support for unsigned PCM formats
Although the McASP supports sign-extending samples in RX or TX [1]; the
davinci-mcasp driver does not touch the {R,X}PBIT or {R,X}PAD field of the
{R,X}FMT registers meaning that the McASP will serialize the bytes it is given
regardless of their signedness. So supporting unsigned formats is as simple
as adding them to the metadata of the davinci-mcasp driver.

Update the FMTBITs reported in the snd_soc_dai_driver and also update the case
statements in davinci-mcasp's hw_params() function so that the McASP can be
connected to CODECs that use unsigned values.

[1] http://www.ti.com/lit/ug/sprufm1/sprufm1.pdf

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-08-29 10:11:17 +01:00
..
atmel sound/atmel_ssc_dai: add a missing space to an error message 2011-06-10 10:55:20 +01:00
au1x ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe 2011-08-17 16:24:16 +09:00
blackfin ASoC: Blackfin: ADAU1373 eval board support 2011-08-17 00:53:54 +09:00
codecs Merge branch 'for-3.1' into for-3.2 2011-08-24 20:22:43 +01:00
davinci ASoC: davinci-mcasp: add support for unsigned PCM formats 2011-08-29 10:11:17 +01:00
ep93xx sound/soc/ep93xx/ep93xx-i2s.c: add missing kfree 2011-08-22 23:28:42 +01:00
fsl Merge branch 'for-3.1' into for-3.2 2011-08-24 20:22:43 +01:00
imx Merge branch 'next/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-25 11:53:35 -07:00
jz4740 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
kirkwood sound/soc/kirkwood/kirkwood-i2s.c: add missing kfree 2011-08-22 23:26:56 +01:00
mid-x86 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
mxs ASoC: mxs-sgtl5000: add record function 2011-08-22 23:36:15 +01:00
nuc900 ASoC: nuc900-pcm: remove unused variable 'dai' 2011-08-15 22:52:04 +09:00
omap ASoC: omap: Fix build errors in ams-delta 2011-08-19 01:19:45 +09:00
pxa ASoC: Remove redundant -codec from WM8750 2011-08-14 19:19:43 +09:00
s6000 ASoC: s6000-pcm: remove unused variable 'dai' 2011-08-15 22:51:48 +09:00
samsung ASoC: SAMSUNG: Add Kconfig to support SMDK4212 2011-08-24 10:42:16 +01:00
sh Merge branch 'for-3.0' into for-3.1 2011-07-09 19:06:33 +09:00
tegra ASoC: Tegra: wm8903 machine driver: Drop Ventana support 2011-08-24 10:38:05 +01:00
txx9 ASoC: Fix txx9aclc.c build 2011-07-29 07:53:08 +02:00
Kconfig Merge branch 'regmap-asoc' into for-3.2 2011-08-08 15:00:13 +09:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
soc-cache.c ASoC: soc-cache: Remove unneeded codec_drv pointer variable in snd_soc_lzo_get_blksize 2011-08-15 22:52:03 +09:00
soc-core.c Merge branch 'for-3.1' into for-3.2 2011-08-22 23:33:01 +01:00
soc-dapm.c ASoC: DAPM: Allow multiple mixer sources to be routed via the same switch 2011-08-16 08:25:08 +09:00
soc-io.c ASoC: Add spi hw read function for 16 addr 8 data mode for ad193x fix 2011-08-15 22:38:14 +09:00
soc-jack.c ASoC: soc-jack: Fix checking return value of request_any_context_irq 2011-08-15 22:28:46 +09:00
soc-pcm.c Merge branch 'for-3.1' into for-3.2 2011-08-17 16:34:05 +09:00
soc-utils.c ASoC: Work around allmodconfig failure 2011-04-28 12:09:06 +01:00