pwmdac:sound: support 11025hz play mode.
authorminda.chen <minda.chen@starfivetech.com>
Wed, 13 Jul 2022 06:04:54 +0000 (14:04 +0800)
committerminda.chen <minda.chen@starfivetech.com>
Thu, 21 Jul 2022 13:29:05 +0000 (21:29 +0800)
commitae6c3943ef0c35b257eeae0a3b83f065b79ba241
treeec54b6ad4ca5db5223fa6f1ef678c28b3ef8cbeb
parent274461d91cf3d04272a72de1f61ac9df4b42315c
pwmdac:sound: support 11025hz play mode.

1. set the correct clock rate and sample cnt.
2. using aplay 11.025kz wave file can pass.
3. fix issue redmine 1584

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
sound/soc/starfive/starfive_pwmdac.c