[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Subhransu S. Prusty
On Sat, Dec 05, 2015 at 09:12:34AM +0100, Takashi Iwai wrote: > On Sat, 05 Dec 2015 12:27:03 +0100, > Subhransu S. Prusty wrote: > > > > On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takashi Iwai wrote: > > > On Fri, 04 Dec 2015 12:08:26 +0100, > > > Subhransu S. Prusty wrote: > > > > > > > > On

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Subhransu S. Prusty
On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 12:08:26 +0100, > Subhransu S. Prusty wrote: > > > > On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > > > On Thu, 03 Dec 2015 22:08:53 +0100, > > > Subhransu S. Prusty wrote: > > > > > > > >

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Takashi Iwai
On Sat, 05 Dec 2015 15:05:49 +0100, Subhransu S. Prusty wrote: > > On Sat, Dec 05, 2015 at 09:12:34AM +0100, Takashi Iwai wrote: > > On Sat, 05 Dec 2015 12:27:03 +0100, > > Subhransu S. Prusty wrote: > > > > > > On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takashi Iwai wrote: > > > > On Fri, 04 Dec

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-05 Thread Takashi Iwai
On Sat, 05 Dec 2015 12:27:03 +0100, Subhransu S. Prusty wrote: > > On Fri, Dec 04, 2015 at 06:59:19AM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 12:08:26 +0100, > > Subhransu S. Prusty wrote: > > > > > > On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > > > > On Thu, 03 Dec

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-04 Thread Subhransu S. Prusty
On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > On Thu, 03 Dec 2015 22:08:53 +0100, > Subhransu S. Prusty wrote: > > > > Setting the constraint format based on ELD was missing bit in > > the sound/core pcm drm. Added with this patch. > > No, you can't define these here. The

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 12:08:26 +0100, Subhransu S. Prusty wrote: > > On Thu, Dec 03, 2015 at 04:57:14PM +0100, Takashi Iwai wrote: > > On Thu, 03 Dec 2015 22:08:53 +0100, > > Subhransu S. Prusty wrote: > > > > > > Setting the constraint format based on ELD was missing bit in > > > the sound/core

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-04 Thread Subhransu S. Prusty
Setting the constraint format based on ELD was missing bit in the sound/core pcm drm. Added with this patch. Signed-off-by: Subhransu S. Prusty Signed-off-by: Vinod Koul --- sound/core/pcm_drm_eld.c | 42 +- 1 file changed, 41 insertions(+), 1

[PATCH v2 05/14] ALSA: pcm: Add DRM helper to set constraint for format

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 22:08:53 +0100, Subhransu S. Prusty wrote: > > Setting the constraint format based on ELD was missing bit in > the sound/core pcm drm. Added with this patch. No, you can't define these here. The format really depends on the hardware, while the rate and the channels are