Re: [alsa-devel] [PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-03 Thread Pierre-Louis Bossart
On 12/3/17 10:52 AM, Vinod Koul wrote: On Fri, Dec 01, 2017 at 04:49:01PM -0600, Pierre-Louis Bossart wrote: +int sdw_master_read_prop(struct sdw_bus *bus) +{ + struct sdw_master_prop *prop = &bus->prop; + struct fwnode_handle *link; + unsigned int count = 0; + char name

Re: [alsa-devel] [PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-03 Thread Vinod Koul
On Fri, Dec 01, 2017 at 04:49:01PM -0600, Pierre-Louis Bossart wrote: > >+int sdw_master_read_prop(struct sdw_bus *bus) > >+{ > >+struct sdw_master_prop *prop = &bus->prop; > >+struct fwnode_handle *link; > >+unsigned int count = 0; > >+char name[32]; > >+int nval, i; > >+ > >+

Re: [alsa-devel] [PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-01 Thread Pierre-Louis Bossart
On 12/1/17 3:56 AM, Vinod Koul wrote: MIPI Discovery And Configuration (DisCo) Specification for SoundWire specifies properties to be implemented for SoundWire Masters and Slaves. The DisCo spec doesn't mandate these properties. However, SDW bus cannot work without knowing these values. The help

[PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-01 Thread Vinod Koul
MIPI Discovery And Configuration (DisCo) Specification for SoundWire specifies properties to be implemented for SoundWire Masters and Slaves. The DisCo spec doesn't mandate these properties. However, SDW bus cannot work without knowing these values. The helper functions read the Master and Slave p