Thread (2 messages) flat view 2 messages, 2 authors, 2014-02-18

Re: [PATCH v5 1/4] ASoC: tlv320aic32x4: Support for master clock

From: Mark Brown <hidden>
Date: 2014-02-18 01:23:29
Also in: alsa-devel

On Mon, Feb 17, 2014 at 11:04:17AM +0100, Markus Pargmann wrote:
 Optional properties:
  - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt
+ - clocks/clock-names: Clock named 'mclk' for the master clock of the codec.
+   See clock/clock-bindings.txt for information about the detailed format.
Looking at the code the clock isn't physically optional, why not make it
mandatory?  There's only one mainline user, it looks like it should be
straightforward to update with a fixed clock.
+	aic32x4->mclk = devm_clk_get(&i2c->dev, "mclk");
+	if (IS_ERR(aic32x4->mclk))
+		dev_info(&i2c->dev, "No mclk found, continuing without clock\n");
This is going to break with deferred probe, we need to handle that at
least.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help