lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V3 3/4] ASoC: tas571x: New driver for TI TAS571x power amplifiers
On Sun, May 03, 2015 at 05:00:18PM -0700, Kevin Cernekee wrote:

> + }
> +
> + codec->dapm.bias_level = level;
> + return 0;
> +}

This assignment was factored out into the core last week, I'll fix up
for that.

> + if (dev->of_node) {
> + const struct of_device_id *of_id;
> +
> + of_id = of_match_device(tas571x_of_match, dev);
> + if (of_id)
> + priv->chip = of_id->data;
> + }

Doesn't of_match_device() do the right thing with devices not registered
from DT?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-04 15:41    [W:0.068 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site