linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()
@ 2020-04-26  9:42 Jason Yan
  2020-04-26 16:57 ` Jarkko Nikula
  2020-04-27 13:09 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Yan @ 2020-04-26  9:42 UTC (permalink / raw)
  To: peter.ujfalusi, jarkko.nikula, lgirdwood, broonie, perex, tiwai,
	rafael.j.wysocki, tglx, alsa-devel, linux-omap, linux-kernel
  Cc: Jason Yan

Fix the following coccicheck warning:

sound/soc/ti/omap-mcbsp.c:1188:5-11: WARNING: Comparison to bool

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 sound/soc/ti/omap-mcbsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/ti/omap-mcbsp.c b/sound/soc/ti/omap-mcbsp.c
index 3d41ca2238d4..0348963f4df7 100644
--- a/sound/soc/ti/omap-mcbsp.c
+++ b/sound/soc/ti/omap-mcbsp.c
@@ -1185,7 +1185,7 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
 	default:
 		return -EINVAL;
 	}
-	if (inv_fs == true)
+	if (inv_fs)
 		regs->pcr0 ^= FSXP | FSRP;
 
 	return 0;
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()
  2020-04-26  9:42 [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt() Jason Yan
@ 2020-04-26 16:57 ` Jarkko Nikula
  2020-04-27 13:09 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Jarkko Nikula @ 2020-04-26 16:57 UTC (permalink / raw)
  To: Jason Yan, peter.ujfalusi, lgirdwood, broonie, perex, tiwai,
	rafael.j.wysocki, tglx, alsa-devel, linux-omap, linux-kernel

On 4/26/20 12:42 PM, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> sound/soc/ti/omap-mcbsp.c:1188:5-11: WARNING: Comparison to bool
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> ---
>  sound/soc/ti/omap-mcbsp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/ti/omap-mcbsp.c b/sound/soc/ti/omap-mcbsp.c
> index 3d41ca2238d4..0348963f4df7 100644
> --- a/sound/soc/ti/omap-mcbsp.c
> +++ b/sound/soc/ti/omap-mcbsp.c
> @@ -1185,7 +1185,7 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
>  	default:
>  		return -EINVAL;
>  	}
> -	if (inv_fs == true)
> +	if (inv_fs)
>  		regs->pcr0 ^= FSXP | FSRP;
>  
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()
  2020-04-26  9:42 [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt() Jason Yan
  2020-04-26 16:57 ` Jarkko Nikula
@ 2020-04-27 13:09 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-04-27 13:09 UTC (permalink / raw)
  To: rafael.j.wysocki, peter.ujfalusi, perex, alsa-devel, tglx, tiwai,
	Jason Yan, linux-omap, jarkko.nikula, linux-kernel, lgirdwood

On Sun, 26 Apr 2020 17:42:38 +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> sound/soc/ti/omap-mcbsp.c:1188:5-11: WARNING: Comparison to bool
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.8

Thanks!

[1/1] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()
      commit: 1597bfbfdb3c6e97ad0f63abedc2a26d6c1850c7

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-27 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26  9:42 [PATCH] ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt() Jason Yan
2020-04-26 16:57 ` Jarkko Nikula
2020-04-27 13:09 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).