
30 Mar
2018
30 Mar
'18
4:27 p.m.
Hi guys,
Am 30.03.2018 um 10:41 schrieb Simon Glass:
On 30 March 2018 at 15:53, Neil Armstrong narmstrong@baylibre.com wrote:
On 30/03/2018 00:41, Simon Glass wrote:
On 29 March 2018 at 16:42, Neil Armstrong narmstrong@baylibre.com wrote:
On 03/12/2017 10:17, Beniamino Galvani wrote:
gate = &gates[clk->id];
if (gate->reg == 0)
return -ENOENT;
Same here -ENOSYS
Here thsi means it's not a gate.
Yes, but the driver still supports the operation. The problem is that its inputs are invalid. So use -ENOENT to mean that.
Isn't that the definition of -EINVAL?
Cheers, Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)