Quentin LAMBERT

Author's posts

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 …

Continue reading

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 …

Continue reading

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 …

Continue reading

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 …

Continue reading

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(-)   …

Continue reading

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(-)   …

Continue reading

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 — …

Continue reading

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 …

Continue reading

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(+), …

Continue reading

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: …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.