Hey Srinivas,
On Tue, Jun 3, 2014 at 12:43 PM, Srinivas Pandruvada
<srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
Would this require changing iio subsystem to create sysfs entries only
May be we should have a field in const struct iio_chan_spec, so that we
can dynamically enable disable channels. In this way we can statically
define channels, but can be enabled/disabled dynamically.
when enabled? Would we need to add functions to disable and enable
later on?
I think it will work if the existing sequence is maintainedI'll look into this. What function should I use to make the iio chanel
I think we need to present angle in radians. Are you basing change present
in linux-next? This will automatically do in this function.
to report radians?
Since you are changing this part, devm_ calls are preferred, I think.I changed kmemdup to kcalloc so there is still a kfree in the exsiting
I don't see kfree. Try devm_kcalloc?
code. I can change this to devm_kcalloc but only if we don't go with
static channels that are enabled as found.
Thanks,
Reyad Attiyat