[alsa-devel] ASoC: 88pm860x: Question about pm860x_set_dai_sysclk implementation

Axel Lin axel.lin at ingics.com
Sun Jun 28 17:00:59 CEST 2015


Hi Haojian,
In sound/soc/codecs/88pm860x-codec.c (pm860x_set_dai_sysclk):
When dir != PM860X_CLK_DIR_OUT, current code set
pm860x->dir = PM860X_CLK_DIR_IN; and then return -EINVAL.
This looks confusion.
Since there is no comment for that, I'm wondering if the
return -EINVAL is intentional or not.

Regards,
Axel



More information about the Alsa-devel mailing list