5 Sep
2011
5 Sep
'11
7:45 p.m.
On Mon, Sep 05, 2011 at 07:43:22PM +0200, Lars-Peter Clausen wrote:
I think it is useful, since we avoid duplicating that ugly switch statement and we also have to wrap regmap_write and regmap_read, duplicating that in each codec driver doesn't make sense.
When the CODEC drivers do the probe they should be setting the regmap up in their individual bus probe functions so no switch statement.