[PATCH] ASoC: tas2552: Fix fraction overflow in PLL calculation

2017-08-25 Thread Oskar Schirmer
Setting the PLL involves the calculation of a fixed point ratio with 4 decimal digits fraction, referred to as "J.D". The fraction "D" is stored separately from the integer part "J" and is limited to 0... The current algorithm uses integer registers to calculate the fraction part, but failed

[PATCH] ASoC: tas2552: Fix fraction overflow in PLL calculation

2017-08-25 Thread Oskar Schirmer
Setting the PLL involves the calculation of a fixed point ratio with 4 decimal digits fraction, referred to as "J.D". The fraction "D" is stored separately from the integer part "J" and is limited to 0... The current algorithm uses integer registers to calculate the fraction part, but failed