lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EBB5A66.2020800@dsn.lapis-semi.com>
Date:	Thu, 10 Nov 2011 14:00:22 +0900
From:	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
CC:	Takashi Iwai <tiwai@...e.de>, perex@...ex.cz,
	linux-kernel@...r.kernel.org, "Wang, Qi" <qi.wang@...el.com>,
	"Wang, Yong Y" <yong.y.wang@...el.com>,
	"Clark, Joel" <joel.clark@...el.com>,
	"Ewe, Kok Howg" <kok.howg.ewe@...el.com>,
	Liam Girdwood <lrg@...com>, alsa-devel@...a-project.org
Subject: Re: [PATCH] Add SoundCard driver for OKI SEMICONDUCTOR ML7213 IOH

(2011/11/08 23:38), Mark Brown wrote:
> On Tue, Nov 08, 2011 at 06:03:53PM +0900, Tomoya MORINAGA wrote:
>
> So, I started looking at this but...
>
>> struct snd_ml7213i2s_pcm {
>> 	enum snd_soc_control_type control_type;
>> 	struct snd_ml7213i2s *ml7213i2s;
>> 	spinlock_t lock;
>> 	unsigned int irq_pos;
>> 	unsigned int buf_pos;
>> 	struct snd_pcm_substream *substream;
>> 	struct cbdata cbd;              /* i2s callback info */
>> 	unsigned int channels;
>> 	unsigned int rw;
>> 	unsigned int rate;
>> 	unsigned int ch;
>> 	unsigned int setup_flag;
>> 	unsigned int format;
>> 	unsigned int bclkfs;
>> 	struct mutex i2c_mutex;
>> };
>
> ...this looks *really* confused, there's things in here which are a mix
> of DMA controller and CODEC driver things.  The CODEC and DMA drivers
> shouldn't know anything about each other, let alone be referencing the
> same data structure.

Let me clarify your saying.
I couldn't understand what your "DMA controller" mean.
Which "snd_ml7213i2s_pcm" structure member do you mean ?


-- 
tomoya
ROHM Co., Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ