Articles de cet auteur
May 12 2015
ASoC: wm5100: Pass the IRQF_ONESHOT flag
Author: Fabio Estevam <fabio.estevam@freescale.com> Since commit 1c6c69525b40eb76de8adf039409722015927dc3 (« genirq: Reject bogus threaded irq requests ») threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. The semantic patch that makes this change is available in scripts/coccinelle/misc/irqf_oneshot.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown …
May 12 2015
ASoC: wm8996: Pass the IRQF_ONESHOT flag
Author: Fabio Estevam <fabio.estevam@freescale.com> Since commit 1c6c69525b40eb76de8adf039409722015927dc3 (« genirq: Reject bogus threaded irq requests ») threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. The semantic patch that makes this change is available in scripts/coccinelle/misc/irqf_oneshot.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown …
May 11 2015
rcu: Change function declaration to bool
Author: Nicholas Mc Guire <hofrat@osadl.org> rcu_cpu_has_callbacks() is declared int. The current declaration was introduced in commit c0f4dfd4f90f (rcu: Make RCU_FAST_NO_HZ take advantage of numbered callbacks). But it is actually returning bool and as the function description states » * Return true if the specified CPU has any callback…. », this probably should be a bool as …
May 10 2015
mmc: host: sdhci: Use BUG_ON()
Author: Fabio Estevam <fabio.estevam@freescale.com> Use BUG_ON() instead of an ‘if’ condition followed by BUG(). The semantic patch that makes this change is available in scripts/coccinelle/misc/bugon.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Ulf Hansson — drivers/mmc/host/sdhci.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-) diff –git …
May 10 2015
mmc: host: mxcmmc: Simplify a trivial if-return sequence
Author: Fabio Estevam <fabio.estevam@freescale.com> Simplify a trivial if-return sequence. Possibly combine with a preceding function call. The semantic patch that makes this change is available in scripts/coccinelle/misc/simple_return.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Ulf Hansson — drivers/mmc/host/mxcmmc.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-) …
May 10 2015
mmc: card: mmc_test: Simplify a trivial if-return sequence
Author: Fabio Estevam <fabio.estevam@freescale.com> Simplify a trivial if-return sequence. Possibly combine with a preceding function call. The semantic patch that makes this change is available in scripts/coccinelle/misc/simple_return.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Ulf Hansson — drivers/mmc/card/mmc_test.c | 100 +++++++————————————- 1 file changed, 15 insertions(+), 85 deletions(-) …
May 09 2015
gpu: ipu-v3: ipu-csi: bool test doesn’t need a comparison to false
Author: Fabio Estevam <fabio.estevam@freescale.com> Bool initializations should use true and false. Bool tests don’t need comparisons. Based on contributions from Joe Perches, Rusty Russell and Bruce W Allan. The semantic patch that makes this change is available in scripts/coccinelle/misc/boolinit.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Philipp Zabel — …
May 09 2015
spi: spidev: Remove unneeded variable
Author: Fabio Estevam <fabio.estevam@freescale.com> Remove unneeded variable used to store return value. The semantic patch that makes this change is available in scripts/coccinelle/misc/returnvar.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown — drivers/spi/spidev.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) diff –git a/drivers/spi/spidev.c b/drivers/spi/spidev.c …
May 09 2015
ASoC: fsl: imx-mc13783: Simplify trivial if-return sequence
Author: Fabio Estevam <fabio.estevam@freescale.com> Simplify a trivial if-return sequence. Possibly combine with a preceding function call. The semantic patch that makes this change is available in scripts/coccinelle/misc/simple_return.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Acked-by: Timur Tabi Signed-off-by: Mark Brown — sound/soc/fsl/imx-mc13783.c | 6 +—– 1 file changed, 1 insertion(+), …
May 09 2015
ASoC: fsl: fsl_dma: Use true/false for boolean init
Author: Fabio Estevam <fabio.estevam@freescale.com> Bool initializations should use true and false. Bool tests don’t need comparisons. Based on contributions from Joe Perches, Rusty Russell and Bruce W Allan. The semantic patch that makes this change is available in scripts/coccinelle/misc/boolinit.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam Acked-by: Timur Tabi Signed-off-by: …