Fabio Estevam
a90e6053ba
ASoC: mxs-sgtl5000: Configure the dai_links as unidirectional
...
On a mx28 board, running "aplay -l" and "arecord -l" results in the following:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
,which is not correct because we got a capture device listed in aplay and a
playback device listed in arecord.
On mx28 there are two serial audio interface ports (SAIF0 and SAIF1) and each
one of them are unidirectional.
Allow to specify a dai link as 'playback_only' or 'capture_only', which suits
well for this case.
After this change we can correctly report the capabilities as follows:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: HiFi Capture sgtl5000-1 []
Subdevices: 1/1
Subdevice #0 : subdevice #0
Also tested playback and capture on the mx28evk board.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2013-09-01 16:29:27 +01:00
Fabio Estevam
d6bead020d
ASoC: soc-pcm: Allow to specify unidirectional dai_link
...
Add 'playback_only' and 'capture_only' fields that can be used for specifying
that a dai_link has a unidirectional capability.
The motivation for this is for the cases of systems, such as Freescale MX28,
that has two unidirectional DAIs.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2013-09-01 16:29:27 +01:00
Trond Myklebust
414a629598
RPCSEC_GSS: Share rpc_pipes when an rpc_clnt owns multiple rpcsec auth caches
...
Ensure that if an rpc_clnt owns more than one RPCSEC_GSS-based authentication
mechanism, then those caches will share the same 'gssd' upcall pipe.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:43 -04:00
Trond Myklebust
298fc3558b
SUNRPC: Add a helper to allow sharing of rpc_pipefs directory objects
...
Add support for looking up existing objects and creating new ones if there
is no match.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:43 -04:00
Trond Myklebust
c36dcfe1f7
SUNRPC: Remove the rpc_client->cl_dentry
...
It is now redundant.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:42 -04:00
Trond Myklebust
2127d82af3
NFSv4: Convert idmapper to use the new framework for pipefs dentries
...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:42 -04:00
Trond Myklebust
5f42b016d7
SUNRPC: Remove the obsolete auth-only interface for pipefs dentry management
...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:41 -04:00
Trond Myklebust
1917228435
RPCSEC_GSS: Switch auth_gss to use the new framework for pipefs dentries
...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
2013-09-01 11:12:41 -04:00
Mark Brown
a584862221
Merge remote-tracking branch 'regulator/topic/tps65912' into regulator-next
2013-09-01 13:50:23 +01:00
Mark Brown
2d31b15b86
Merge remote-tracking branch 'regulator/topic/ti-abb' into regulator-next
2013-09-01 13:50:22 +01:00
Mark Brown
04fcec88cd
Merge remote-tracking branch 'regulator/topic/sec' into regulator-next
2013-09-01 13:50:21 +01:00
Mark Brown
a89f5c7598
Merge remote-tracking branch 'regulator/topic/ramp' into regulator-next
2013-09-01 13:50:20 +01:00
Mark Brown
09f2dd88ff
Merge remote-tracking branch 'regulator/topic/pfuze100' into regulator-next
2013-09-01 13:50:18 +01:00
Mark Brown
39fe3b45d3
Merge remote-tracking branch 'regulator/topic/palmas' into regulator-next
2013-09-01 13:50:17 +01:00
Mark Brown
f27a5fb424
Merge remote-tracking branch 'regulator/topic/optional' into regulator-next
2013-09-01 13:50:17 +01:00
Mark Brown
6979380d85
Merge remote-tracking branch 'regulator/topic/max8660' into regulator-next
2013-09-01 13:50:16 +01:00
Mark Brown
3aba952706
Merge remote-tracking branch 'regulator/topic/lp8755' into regulator-next
2013-09-01 13:50:14 +01:00
Mark Brown
882e3dba4c
Merge remote-tracking branch 'regulator/topic/lp872x' into regulator-next
2013-09-01 13:50:13 +01:00
Mark Brown
bca3523b22
Merge remote-tracking branch 'regulator/topic/linear-range' into regulator-next
2013-09-01 13:50:12 +01:00
Mark Brown
099c606224
Merge remote-tracking branch 'regulator/topic/kconfig' into regulator-next
2013-09-01 13:50:11 +01:00
Mark Brown
724d054490
Merge remote-tracking branch 'regulator/topic/helpers' into regulator-next
2013-09-01 13:50:09 +01:00
Mark Brown
446b4665e3
Merge remote-tracking branch 'regulator/topic/fan53555' into regulator-next
2013-09-01 13:50:08 +01:00
Mark Brown
62696579a0
Merge remote-tracking branch 'regulator/topic/da9063' into regulator-next
2013-09-01 13:50:07 +01:00
Mark Brown
1ad13028e5
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
2013-09-01 13:50:06 +01:00
Mark Brown
5288be36cd
Merge remote-tracking branch 'regulator/topic/as3711' into regulator-next
2013-09-01 13:50:05 +01:00
Mark Brown
28c37c9ce8
Merge remote-tracking branch 'regulator/topic/88pm800' into regulator-next
2013-09-01 13:50:04 +01:00
Mark Brown
5787392598
Merge remote-tracking branch 'spi/topic/txx9' into spi-next
2013-09-01 13:49:18 +01:00
Mark Brown
961722f57c
Merge remote-tracking branch 'spi/topic/topcliff' into spi-next
2013-09-01 13:49:17 +01:00
Mark Brown
989e694647
Merge remote-tracking branch 'spi/topic/tle62x0' into spi-next
2013-09-01 13:49:15 +01:00
Mark Brown
58737f127a
Merge remote-tracking branch 'spi/topic/tel62x0' into spi-next
2013-09-01 13:49:14 +01:00
Mark Brown
e7c57cc124
Merge remote-tracking branch 'spi/topic/tegra' into spi-next
2013-09-01 13:49:13 +01:00
Mark Brown
a3e412dcf5
Merge remote-tracking branch 'spi/topic/sirf' into spi-next
2013-09-01 13:49:12 +01:00
Mark Brown
368ce0bca4
Merge remote-tracking branch 'spi/topic/sh-msiof' into spi-next
2013-09-01 13:49:11 +01:00
Mark Brown
874915ed4b
Merge remote-tracking branch 'spi/topic/sh-hspi' into spi-next
2013-09-01 13:49:10 +01:00
Mark Brown
2dc745b6ef
Merge remote-tracking branch 'spi/topic/s3c64xx' into spi-next
2013-09-01 13:49:09 +01:00
Mark Brown
121a39661b
Merge remote-tracking branch 'spi/topic/rspi' into spi-next
2013-09-01 13:49:08 +01:00
Mark Brown
278ac33bbd
Merge remote-tracking branch 'spi/topic/quad' into spi-next
2013-09-01 13:49:07 +01:00
Mark Brown
85cac43132
Merge remote-tracking branch 'spi/topic/qspi' into spi-next
2013-09-01 13:49:06 +01:00
Mark Brown
793b3cb6ac
Merge remote-tracking branch 'spi/topic/pxa' into spi-next
2013-09-01 13:49:05 +01:00
Mark Brown
720ed2d130
Merge remote-tracking branch 'spi/topic/pl022' into spi-next
2013-09-01 13:49:04 +01:00
Mark Brown
68aa4cb337
Merge remote-tracking branch 'spi/topic/pdata' into spi-next
2013-09-01 13:49:03 +01:00
Mark Brown
11c28cfc1e
Merge remote-tracking branch 'spi/topic/orion' into spi-next
2013-09-01 13:49:02 +01:00
Mark Brown
4374f332d9
Merge remote-tracking branch 'spi/topic/omap-100k' into spi-next
2013-09-01 13:49:01 +01:00
Mark Brown
45bb5065e1
Merge remote-tracking branch 'spi/topic/octeon' into spi-next
2013-09-01 13:49:00 +01:00
Mark Brown
455765f02e
Merge remote-tracking branch 'spi/topic/nuc900' into spi-next
2013-09-01 13:48:59 +01:00
Mark Brown
7c2fde9b1a
Merge remote-tracking branch 'spi/topic/mxs' into spi-next
2013-09-01 13:48:59 +01:00
Mark Brown
9020b75467
Merge remote-tracking branch 'spi/topic/msglen' into spi-next
2013-09-01 13:48:58 +01:00
Mark Brown
84c86edab3
Merge remote-tracking branch 'spi/topic/mpc512x' into spi-next
2013-09-01 13:48:57 +01:00
Mark Brown
4faad26c27
Merge remote-tracking branch 'spi/topic/ioremap' into spi-next
2013-09-01 13:48:56 +01:00
Mark Brown
8e37befc5c
Merge remote-tracking branch 'spi/topic/imx' into spi-next
2013-09-01 13:48:55 +01:00