All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: 88pm860x: Question about pm860x_set_dai_sysclk implementation
@ 2015-06-28 15:00 Axel Lin
  2015-06-29  2:02 ` Haojian Zhuang
  0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2015-06-28 15:00 UTC (permalink / raw)
  To: Haojian Zhuang; +Cc: alsa-devel, Mark Brown, Liam Girdwood

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-29  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-28 15:00 ASoC: 88pm860x: Question about pm860x_set_dai_sysclk implementation Axel Lin
2015-06-29  2:02 ` Haojian Zhuang
2015-06-29  2:27   ` Axel Lin
2015-06-29  2:49     ` Haojian Zhuang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.