Re: [PATCH v3] lm87: Allow channel data to be set from dts file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 15, 2016 at 05:00:06PM +1300, Mahoda Ratnayaka wrote:

> +		if (of_property_read_bool(of_node, "vcc-supply"))
> +			val |= CHAN_VCC_5V;

vcc-supply is a phandle not a bool, you need to use the regulator api
to learn the voltage.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux