From: Kuninori Morimoto Subject: Re: [PATCH 06/19] ASoC: rsnd: add .set_sysclk on snd_soc_dai_ops Date: Sun, 02 Mar 2014 18:12:03 -0800 (PST) Message-ID: <8761nwxc7j.wl%kuninori.morimoto.gx@gmail.com> References: <87d2ib90t9.wl%kuninori.morimoto.gx@gmail.com> <874n3n90qt.wl%kuninori.morimoto.gx@gmail.com> <20140303011844.GA2411@sirena.org.uk> <877g8cxcea.wl%kuninori.morimoto.gx@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by alsa0.perex.cz (Postfix) with ESMTP id D1B4F2654D3 for ; Mon, 3 Mar 2014 03:12:04 +0100 (CET) Received: by mail-pd0-f181.google.com with SMTP id p10so3060954pdj.26 for ; Sun, 02 Mar 2014 18:12:03 -0800 (PST) In-Reply-To: <877g8cxcea.wl%kuninori.morimoto.gx@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Kuninori Morimoto Cc: Simon , Linux-ALSA , Mark Brown , Liam Girdwood , Kuninori Morimoto List-Id: alsa-devel@alsa-project.org Hi Mark again > > > This patch adds struct snd_soc_dai_ops :: set_sysclk. > > > But, it do nothing, since rsnd sysclk is controlled by ADG. > > > Without this patch, simple-card init will be failed > > > if DT case. > > > > We should fix the simple-card code so that it does not need this rather > > than adding empty functions to all the drivers - I'd expect it to handle > > -ENOTSUPP as not an error. > > Ahh... > > Current simple-card will get sysclk absolutely in normal (?) way. > Can you see end of asoc_simple_card_sub_parse_of() ? > > rsnd got sysclk from it, but it is "module" clock, not "sysclk". > > I guess I can avoid this issue if dtsi has > > system-clock-frequency = 0; > > but it is strange. Oops, I was misunderstanding. I see, I will add -ENOTSUPP support.