On Sat, Oct 21, 2017 at 10:29:08AM +0100, Mark Brown wrote:
> On Thu, Oct 19, 2017 at 08:33:22AM +0530, Vinod Koul wrote:
>
> > +static bool sdw_get_page(struct sdw_slave *slave, struct sdw_msg *msg)
> > +{
> > + bool page = false, paging_support = false;
> > +
> > + if (slave && slave->prop.p
On Thu, Oct 19, 2017 at 08:33:22AM +0530, Vinod Koul wrote:
> +static bool sdw_get_page(struct sdw_slave *slave, struct sdw_msg *msg)
> +{
> + bool page = false, paging_support = false;
> +
> + if (slave && slave->prop.paging_support)
> + paging_support = true;
> +
> + /*
>
On Fri, Oct 20, 2017 at 09:06:13AM +0200, Takashi Iwai wrote:
> On Fri, 20 Oct 2017 07:30:06 +0200,
> Vinod Koul wrote:
> >
> > On Thu, Oct 19, 2017 at 11:13:48AM +0200, Takashi Iwai wrote:
> > > On Thu, 19 Oct 2017 05:03:22 +0200,
> > > Vinod Koul wrote:
> > > >
> > > > +/**
> > > > + * sdw_tran
On Fri, 20 Oct 2017 07:30:06 +0200,
Vinod Koul wrote:
>
> On Thu, Oct 19, 2017 at 11:13:48AM +0200, Takashi Iwai wrote:
> > On Thu, 19 Oct 2017 05:03:22 +0200,
> > Vinod Koul wrote:
> > >
> > > +/**
> > > + * sdw_transfer: Synchronous transfer message to a SDW Slave device
> > > + *
> > > + * @bu
On Thu, Oct 19, 2017 at 11:13:48AM +0200, Takashi Iwai wrote:
> On Thu, 19 Oct 2017 05:03:22 +0200,
> Vinod Koul wrote:
> >
> > +static inline int find_error_code(unsigned int sdw_ret)
> > +{
> > + switch (sdw_ret) {
> > + case SDW_CMD_OK:
> > + return 0;
> > +
> > + case SDW_CMD_I
On Thu, 19 Oct 2017 05:03:22 +0200,
Vinod Koul wrote:
>
> +static inline int find_error_code(unsigned int sdw_ret)
> +{
> + switch (sdw_ret) {
> + case SDW_CMD_OK:
> + return 0;
> +
> + case SDW_CMD_IGNORED:
> + return -ENODATA;
> +
> + case SDW_CMD_TIMEOUT:
SoundWire bus supports read and write register(s) for SoundWire
Slave device. sdw_read() and sdw_write() APIs are provided for single
register read/write. sdw_nread() and sdw_nwrite() for operations on
contiguous register read/write.
Signed-off-by: Sanyog Kale
Signed-off-by: Vinod Koul
---
driv
7 matches
Mail list logo