From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: [RFC][PATCH 0/3] ASoC: sh: fsi: sound format selection Date: Mon, 24 Jan 2011 10:41:22 +0900 Message-ID: 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 relmlor4.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id 93FC210382C for ; Mon, 24 Jan 2011 02:41:30 +0100 (CET) Received: from relmlir3.idc.renesas.com ([10.200.68.153]) by relmlor4.idc.renesas.com ( SJSMS) with ESMTP id <0LFI004237CYIM80@relmlor4.idc.renesas.com> for alsa-devel@alsa-project.org; Mon, 24 Jan 2011 10:41:22 +0900 (JST) Received: from relmlac2.idc.renesas.com ([10.200.69.22]) by relmlir3.idc.renesas.com ( SJSMS) with ESMTP id <0LFI00CL67CYYG50@relmlir3.idc.renesas.com> for alsa-devel@alsa-project.org; Mon, 24 Jan 2011 10:41:22 +0900 (JST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: Linux-ALSA , Paul Mundt , Liam Girdwood List-Id: alsa-devel@alsa-project.org Dear Mark, Liam, Paul These are FSI-codecs sound format selection patches. Kuninori Morimoto(3) ASoC: sh: fsi: move chan_num from fsi_stream to fsi_priv ASoC: sh: fsi: free from NULL pointer of struct sh_fsi_platform_info ASoC: sh: fsi: modify selection method of I2S/PCM/SPDIF format FSI-codecs sound format should be selected on fsi-xxx.c for ALSA. But FSI sound format is still selected from FSI platform data for now. 3rd patch modify it. (1st and 2nd are needed from 3rd patch) But current FSI can use I2S/PCM and SPDIF today. I2S/PCM can be selected by snd_soc_dai_set_fmt from fsi-xxx, but can not select SPDIF today. So, 3rd patch add 2 modes to FSI. DAI mode and SPDIF mode. If DAI mode (default), I2S/PCM format can be selected from fsi-xxx by snd_soc_dai_set_fmt. If SPDIF mode, FSI become SPDIF format. But I'm not sure it is OK for SPDIF. So, I set these patches as [RFC] Best regards -- Kuninori Morimoto