[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-04-01 Thread Yakir
Hi Russell, 在 2015/3/31 17:13, Russell King - ARM Linux 写道: > On Tue, Mar 31, 2015 at 04:30:39AM -0400, Yang Kuankuan wrote: >>> + cs[0] = IEC958_AES0_CON_NOT_COPYRIGHT | IEC958_AES0_CON_EMPHASIS_NONE; >>> + cs[1] = IEC958_AES1_CON_GENERAL; >>> + cs[2] = IEC958_AES2_CON_SOURCE_UNSPEC |

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-04-01 Thread Russell King - ARM Linux
On Wed, Apr 01, 2015 at 10:04:03AM +0800, Yakir wrote: > Hi Russell, > > 在 2015/3/31 17:13, Russell King - ARM Linux 写道: > >As for the channel number, this is intentionally left to the driver - > >most cases I've found either the driver isn't interested, or where > >they are interested (the

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-03-31 Thread Philipp Zabel
Hi, Am Montag, den 30.03.2015, 20:40 +0100 schrieb Russell King: > Add a helper to create the IEC958 channel status from an ALSA > snd_pcm_runtime structure, taking account of the sample rate. > > Signed-off-by: Russell King > --- > include/sound/pcm_iec958.h | 9 ++ > sound/core/Kconfig

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-03-31 Thread Russell King - ARM Linux
On Tue, Mar 31, 2015 at 11:10:34AM +0200, Philipp Zabel wrote: > This fails to build for me on 4.0-rc6: > make[2]: *** No rule to make target 'sound/core/snd-pcm-iec958.o', needed by > 'sound/core/snd-pcm.o'. Stop. > scripts/Makefile.build:403: recipe for target 'sound/core' failed Yes, I origin

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-03-31 Thread Russell King - ARM Linux
On Tue, Mar 31, 2015 at 04:30:39AM -0400, Yang Kuankuan wrote: > >+cs[0] = IEC958_AES0_CON_NOT_COPYRIGHT | IEC958_AES0_CON_EMPHASIS_NONE; > >+cs[1] = IEC958_AES1_CON_GENERAL; > >+cs[2] = IEC958_AES2_CON_SOURCE_UNSPEC | IEC958_AES2_CON_CHANNEL_UNSPEC; > >+cs[3] = IEC958_AES3_CON_CLOC

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-03-31 Thread Yang Kuankuan
Hi Russell, On 03/30/2015 03:40 PM, Russell King wrote: > Add a helper to create the IEC958 channel status from an ALSA > snd_pcm_runtime structure, taking account of the sample rate. > > Signed-off-by: Russell King > --- > include/sound/pcm_iec958.h | 9 ++ > sound/core/Kconfig |

[PATCH RFC 09/11] sound/core: add IEC958 channel status helper

2015-03-30 Thread Russell King
Add a helper to create the IEC958 channel status from an ALSA snd_pcm_runtime structure, taking account of the sample rate. Signed-off-by: Russell King --- include/sound/pcm_iec958.h | 9 ++ sound/core/Kconfig | 3 ++ sound/core/Makefile| 2 ++ sound/core/pcm_iec958.c|