[alsa-devel] [PATCH 1/6] device property: Add new array helper

Charles Keepax ckeepax at opensource.cirrus.com
Wed May 29 11:48:14 CEST 2019


On Tue, May 28, 2019 at 07:01:38PM +0200, Rafael J. Wysocki wrote:
> On Tue, May 28, 2019 at 5:43 PM Charles Keepax
> <ckeepax at opensource.cirrus.com> wrote:
> >
> > It is fairly common to want to read an integer array property
> > that is composed of an unknown number of fixed size integer
> > groups. For example, say each group consists of three values
> > which correspond to the settings for one input on the device
> > and the driver supports several chips with different numbers
> > of inputs.
> >
> > Add a new helper function to provide this functionality, it
> > differs for the existing helpers in that it allows reading a
> > smaller number of values than the full array size and checks
> > that the number of values read is a multiple of the group size.
> 
> As a rule, you need also CC all of the device property framework
> changes to linux-acpi at vger.kernel.org, so please resend the series
> with that taken into account.
> 

Sorry will resend with them included.

Thanks,
Charles


More information about the Alsa-devel mailing list