Quentin LAMBERT

Articles de cet auteur

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 …

Lire la suite

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 …

Lire la suite

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 …

Lire la suite

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 …

Lire la suite

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

Lire la suite

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

Lire la suite

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

Lire la suite

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 …

Lire la suite

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

Lire la suite

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

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.