[alsa-devel] [PATCH] ASoC: rt1011: Read and apply r0 and temperature device property

Mark Brown broonie at kernel.org
Wed Oct 16 13:23:49 CEST 2019


On Wed, Oct 16, 2019 at 04:58:45PM +0800, shumingf at realtek.com wrote:

> +static int rt1011_parse_dp(struct rt1011_priv *rt1011, struct device *dev)
> +{
> +	device_property_read_u32(dev, "realtek,temperature_calib",
> +		&rt1011->temperature_calib);
> +	device_property_read_u32(dev, "realtek,r0_calib",
> +		&rt1011->r0_calib);

These are new DT bindings and need to be added to the binding document.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20191016/e7cb632c/attachment.sig>


More information about the Alsa-devel mailing list