20 Jul, 2015
1 commit
-
Some PWM drivers are testing the PWMF_ENABLED flag. Create a helper
function to hide the logic behind enabled test. This will allow us to
smoothly move from the current approach to an atomic PWM update
approach.Signed-off-by: Boris Brezillon
Signed-off-by: Thierry Reding
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
21 May, 2014
1 commit
-
The struct is not used anymore and the polarity initialization will be
done using the PWM lookup table (or device tree).Signed-off-by: Alexandre Belloni
Acked-by: Laurent Pinchart
Acked-by: Simon Horman
Signed-off-by: Thierry Reding
28 Apr, 2014
1 commit
-
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.Signed-off-by: Jingoo Han
Signed-off-by: Thierry Reding
03 Sep, 2013
2 commits
-
Remove unneeded error handling on the result of a call to
platform_get_resource when the value is passed to devm_ioremap_resource.Move the call to platform_get_resource adjacent to the call to
devm_ioremap_resource to make the connection between them more clear.A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)//
@@
expression pdev,res,n,e,e1;
expression ret != 0;
identifier l;
@@- res = platform_get_resource(pdev, IORESOURCE_MEM, n);
... when != res
- if (res == NULL) { ... \(goto l;\|return ret;\) }
... when != res
+ res = platform_get_resource(pdev, IORESOURCE_MEM, n);
e = devm_ioremap_resource(e1, res);
//Signed-off-by: Julia Lawall
Acked-by: Viresh Kumar
Signed-off-by: Thierry Reding -
Specify DT bindings for the TPU PWM controller and add OF support to the
driver.Signed-off-by: Laurent Pinchart
Acked-by: Stephen Warren
Signed-off-by: Thierry Reding
26 Jun, 2013
1 commit
-
This driver can be built as module, add MODULE_ALIAS to make module auto loading
work.Signed-off-by: Axel Lin
Signed-off-by: Thierry Reding
25 Jun, 2013
1 commit
-
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().Signed-off-by: Wei Yongjun
Reviewed-by: Axel Lin
Acked-by: Laurent Pinchart
Signed-off-by: Thierry Reding
21 Jun, 2013
1 commit
-
The Timer Pulse Unit (TPU) is a 4-channels 16-bit timer used to generate
waveforms. This driver exposes PWM functions through the PWM API for
other drivers to use.The code is loosely based on the leds-renesas-tpu driver by Magnus Damm
and the TPU PWM driver shipped in the Armadillo EVA 800 kernel sources.Signed-off-by: Laurent Pinchart
Signed-off-by: Axel Lin
Tested-by: Simon Horman
Signed-off-by: Thierry Reding