Re: [alsa-devel] [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 05:30:24PM +, Mark Brown wrote: > On Thu, Nov 16, 2017 at 10:19:44PM +0530, Vinod Koul wrote: > > On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > > > >+*bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, > > > >SDW_ENUM_DEV_NUM); > > > >

Re: [alsa-devel] [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 05:30:24PM +, Mark Brown wrote: > On Thu, Nov 16, 2017 at 10:19:44PM +0530, Vinod Koul wrote: > > On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > > > >+*bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, > > > >SDW_ENUM_DEV_NUM); > > > >

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Mark Brown
On Thu, Nov 16, 2017 at 10:19:44PM +0530, Vinod Koul wrote: > On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > >+ *bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, SDW_ENUM_DEV_NUM); > > Can't we use ida for this. > > This would also cut down code added for allocating

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Mark Brown
On Thu, Nov 16, 2017 at 10:19:44PM +0530, Vinod Koul wrote: > On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > >+ *bus->assigned = ~GENMASK(SDW_BROADCAST_DEV_NUM, SDW_ENUM_DEV_NUM); > > Can't we use ida for this. > > This would also cut down code added for allocating

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > > On 10/11/17 11:49, Vinod Koul wrote: > >A Master registers with SoundWire bus and scans the firmware provided > >for device description. In this patch we scan the ACPI namespaces and > >create the SoundWire Slave devices

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Vinod Koul
On Thu, Nov 16, 2017 at 04:05:22PM +, Srinivas Kandagatla wrote: > > > On 10/11/17 11:49, Vinod Koul wrote: > >A Master registers with SoundWire bus and scans the firmware provided > >for device description. In this patch we scan the ACPI namespaces and > >create the SoundWire Slave devices

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Srinivas Kandagatla
On 10/11/17 11:49, Vinod Koul wrote: A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale

Re: [PATCH v2 03/14] soundwire: Add Master registration

2017-11-16 Thread Srinivas Kandagatla
On 10/11/17 11:49, Vinod Koul wrote: A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale Signed-off-by: Vinod

[PATCH v2 03/14] soundwire: Add Master registration

2017-11-10 Thread Vinod Koul
A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul

[PATCH v2 03/14] soundwire: Add Master registration

2017-11-10 Thread Vinod Koul
A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile|