|
@@ -103,7 +103,7 @@ static void kirkwood_set_rate(struct snd_soc_dai *dai,
|
|
{
|
|
{
|
|
uint32_t clks_ctrl;
|
|
uint32_t clks_ctrl;
|
|
|
|
|
|
- if (rate == 44100 || rate == 48000 || rate == 96000) {
|
|
|
|
|
|
+ if (IS_ERR(priv->extclk)) {
|
|
/* use internal dco for the supported rates
|
|
/* use internal dco for the supported rates
|
|
* defined in kirkwood_i2s_dai */
|
|
* defined in kirkwood_i2s_dai */
|
|
dev_dbg(dai->dev, "%s: dco set rate = %lu\n",
|
|
dev_dbg(dai->dev, "%s: dco set rate = %lu\n",
|