projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4359f7
)
mfd: ti_am335x_tscadc: Don't search the tree for our clock
author
Miquel Raynal
<miquel.raynal@bootlin.com>
Fri, 15 Oct 2021 08:14:32 +0000
(10:14 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 20 Oct 2021 16:24:53 +0000
(17:24 +0100)
There is a single clock available in our node, which is named
"fck". The clock handler then points to adc_tsc_fck but no need to point
directly to it and do a full tree search.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link:
https://lore.kernel.org/r/20211015081506.933180-15-miquel.raynal@bootlin.com
drivers/mfd/ti_am335x_tscadc.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/ti_am335x_tscadc.c
b/drivers/mfd/ti_am335x_tscadc.c
index 7aeabac37990beeca5b37a358a4ad9986143db1f..7f7b8e79a7bf8f3cd0cf547c9dcb28c061b3d1fc 100644
(file)
--- a/
drivers/mfd/ti_am335x_tscadc.c
+++ b/
drivers/mfd/ti_am335x_tscadc.c
@@
-206,7
+206,7
@@
static int ti_tscadc_probe(struct platform_device *pdev)
* This frequency is valid since TSC_ADC_SS controller design
* assumes the OCP clock is at least 6x faster than the ADC clock.
*/
- clk = devm_clk_get(&pdev->dev,
"adc_tsc_fck"
);
+ clk = devm_clk_get(&pdev->dev,
NULL
);
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get TSC fck\n");
err = PTR_ERR(clk);