[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171021094253.45qbp6wzyhifw5vc@sirena.org.uk>
Date: Sat, 21 Oct 2017 10:42:53 +0100
From: Mark Brown <broonie@...nel.org>
To: Vinod Koul <vinod.koul@...el.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>,
ALSA <alsa-devel@...a-project.org>, Takashi <tiwai@...e.de>,
Pierre <pierre-louis.bossart@...ux.intel.com>,
Sanyog Kale <sanyog.r.kale@...el.com>,
Shreyas NC <shreyas.nc@...el.com>, patches.audio@...el.com,
alan@...ux.intel.com,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
Sagar Dharia <sdharia@...eaurora.org>,
srinivas.kandagatla@...aro.org, plai@...eaurora.org,
Sudheer Papothi <spapothi@...eaurora.org>
Subject: Re: [PATCH 10/14] soundwire: Add sysfs for SoundWire DisCo properties
On Thu, Oct 19, 2017 at 08:33:26AM +0530, Vinod Koul wrote:
> +static ssize_t clock_frequencies_show(struct sdw_bus *bus,
> + struct sdw_prop_attribute *attr, char *buf)
> +{
> + ssize_t size = 0;
> + int i;
> +
> + for (i = 0; i < bus->prop.num_freq; i++)
> + size += sprintf(buf + size, "%8d\n", bus->prop.freq[i]);
> +
> + return size;
> +}
sysfs is supposed to be one value per file...
> +int sdw_sysfs_slave_init(struct sdw_slave *slave)
> +{
> + /* TODO: Initialize dp0 and dpn kobject and attribute */
> + return 0;
> +}
> +
> +void sdw_sysfs_slave_exit(struct sdw_slave *slave)
> +{
> +}
Seems like an important TODO?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists