Thread (3 messages) flat view 3 messages, 3 authors, 2018-04-16

Re: [alsa-devel] [PATCH] ASoC: fsl_esai: Add freq check in set_dai_sysclk()

From: Fabio Estevam <festevam@gmail.com>
Date: 2018-04-09 01:31:57
Also in: alsa-devel, lkml

On Sun, Apr 8, 2018 at 9:33 PM, Nicolin Chen [off-list ref] 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@gmail.com>
Reviewed-by: Fabio Estevam <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help