Thread (1 message) 1 message, 1 author, 2015-06-03

[PATCH 2/7] Documentation: bindings: document the clocks for pxa3xx-nand

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2015-06-03 19:14:14
Also in: lkml

Antoine Tenart [off-list ref] writes:
The pxa3xx nand driver requires at least one clock to probe correctly.
A second one, named 'ecc' can be specified if needed. Add the
corresponding documentation.
Is it mandatory, really ?
The code does :
	info->clk = devm_clk_get(&pdev->dev, NULL);
	if (IS_ERR(info->clk)) {
		dev_err(&pdev->dev, "failed to get nand clock\n");
		return PTR_ERR(info->clk);
	}

info->clk can very well be NULL, can't it ?

Cheers.

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