Re: [PATCH 1/5] ASoC: samsung: odroid: Fix 32000 sample rate handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 14, 2018 at 5:41 PM, Sylwester Nawrocki
<s.nawrocki@xxxxxxxxxxx> wrote:
> In case of sample rates lower than 44100 currently there is too low MCLK
> frequency set for the CODEC. Playback fails with following errors:
>
> $ speaker-test -c2 -t sine -f 1500 -l2 -r 32000
>
> Sine wave rate is 1500.0000Hz
> Rate set to 32000Hz (requested 32000Hz)
> Buffer size range from 128 to 131072
> Period size range from 64 to 65536
> Using max buffer size 131072
> Periods = 4
> Unable to set hw params for playback: Invalid argument
> Setting of hwparams failed: Invalid argument
>
> [  497.883700] max98090 1-0010: Invalid master clock frequency
>
> To fix this the I2S root clock's frequency is increased, depending
> on sampling rate.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> ---
>  sound/soc/samsung/odroid.c | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux