[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5D-HNjLyLHft4OiTt806ePJvMbuhKZ4yzO07pD2-w4kqA@mail.gmail.com>
Date: Sun, 8 Apr 2018 22:31:54 -0300
From: Fabio Estevam <festevam@...il.com>
To: Nicolin Chen <nicoleotsuka@...il.com>
Cc: Mark Brown <broonie@...nel.org>, alsa-devel@...a-project.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
Fabio Estevam <fabio.estevam@....com>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_esai: Add freq check in set_dai_sysclk()
On Sun, Apr 8, 2018 at 9:33 PM, Nicolin Chen <nicoleotsuka@...il.com> wrote:
> The freq parameter indicates the physical frequency of an actual
> input clock or a desired frequency of an output clock for HCKT/R.
> It should never be passed 0. This might cause Division-by-zero.
>
> So this patch adds a check to fix it.
>
> Signed-off-by: Nicolin Chen <nicoleotsuka@...il.com>
Reviewed-by: Fabio Estevam <fabio.estevam@....com>
Powered by blists - more mailing lists