Re: [PATCH] ASoC:pcm512x: Fix divide by zero issue.

From: Mark Brown
Date: Mon Mar 23 2015 - 01:03:18 EST


On Fri, Mar 20, 2015 at 09:13:45PM +0000, Howard Mitchell wrote:
> If den=1 and pllin_rate>20MHz then den and num are adjusted to 0
> causing a divide by zero error a few lines further on. Therefore
> this patch correctly scales num and den such that
> pllin_rate/den < 20MHz as required in the device data sheet.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature