Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342761
b: refs/heads/master
c: 1c08e7e
h: refs/heads/master
i:
  342759: 599c30e
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Nov 28, 2012
1 parent 6d08708 commit dd27156
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e650794ae8f9799ee88f6ab67882ed3472d99595
refs/heads/master: 1c08e7e3b2acc9f78bb5f478ffc7999007e309fc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Required properties:

Optional properties:
- ti,dmic: phandle for the OMAP dmic node if the machine have it connected
- ti,jack_detection: Need to be set to <1> if the board capable to detect jack
- ti,jack_detection: Need to be present if the board capable to detect jack
insertion, removal.

Available audio endpoints for the audio-routing table:
Expand Down Expand Up @@ -59,7 +59,7 @@ sound {
compatible = "ti,abe-twl6040";
ti,model = "SDP4430";

ti,jack-detection = <1>;
ti,jack-detection;
ti,mclk-freq = <38400000>;

ti,mcpdm = <&mcpdm>;
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/soc/omap/omap-abe-twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ static __devinit int omap_abe_probe(struct platform_device *pdev)
num_links = 1;
}

of_property_read_u32(node, "ti,jack-detection",
&priv->jack_detection);
priv->jack_detection = of_property_read_bool(node,
"ti,jack-detection");
of_property_read_u32(node, "ti,mclk-freq",
&priv->mclk_freq);
if (!priv->mclk_freq) {
Expand Down

0 comments on commit dd27156

Please sign in to comment.