projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2233a
)
MLK-9684-1: mfd: si476x-i2c: add of_compatible for si476x-codec
author
Shengjiu Wang
<shengjiu.wang@freescale.com>
Mon, 13 Oct 2014 03:10:27 +0000
(11:10 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:13 +0000
(14:48 -0500)
Add of_compatible for si476x-codec, then si476x-codec driver will have
codec_of_node, So machine driver can use the codec_of_node.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
e2ec44f91a21b127e155e8317d06e8ead7fd2678
)
(cherry picked from commit
ac6decaf5414e784ae81a524edc2f32060061b59
)
drivers/mfd/si476x-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/si476x-i2c.c
b/drivers/mfd/si476x-i2c.c
index
246dcd2
..
d1c7b3c
100644
(file)
--- a/
drivers/mfd/si476x-i2c.c
+++ b/
drivers/mfd/si476x-i2c.c
@@
-832,6
+832,7
@@
static int si476x_core_probe(struct i2c_client *client,
core->pinmux.xout == SI476X_XOUT_TRISTATE) {
cell = &core->cells[SI476X_CODEC_CELL];
cell->name = "si476x-codec";
+ cell->of_compatible = "si476x-codec";
cell_num++;
}
#endif