From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from opensource.wolfsonmicro.com ([80.75.67.52]:57968 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751200Ab1BGNKr (ORCPT ); Mon, 7 Feb 2011 08:10:47 -0500 Date: Mon, 7 Feb 2011 13:10:45 +0000 From: Mark Brown To: Mauro Carvalho Chehab Cc: matti.j.aaltonen@nokia.com, alsa-devel@alsa-project.org, lrg@slimlogic.co.uk, hverkuil@xs4all.nl, sameo@linux.intel.com, linux-media@vger.kernel.org Subject: Re: WL1273 FM Radio driver... Message-ID: <20110207131045.GG10564@opensource.wolfsonmicro.com> References: <1297075922.15320.31.camel@masi.mnp.nokia.com> <4D4FDED0.7070008@redhat.com> <20110207120234.GE10564@opensource.wolfsonmicro.com> <4D4FEA03.7090109@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D4FEA03.7090109@redhat.com> List-ID: Sender: On Mon, Feb 07, 2011 at 10:48:03AM -0200, Mauro Carvalho Chehab wrote: > Em 07-02-2011 10:02, Mark Brown escreveu: > > On Mon, Feb 07, 2011 at 10:00:16AM -0200, Mauro Carvalho Chehab wrote: > >> the MFD part (for example, wl1273_fm_read_reg/wl1273_fm_write_cmd/wl1273_fm_write_data). > >> The logic that are related to control the radio (wl1273_fm_set_audio, wl1273_fm_set_volume, > >> etc) are not related to access the device via the MFD bus. They should be at > >> the media part of the driver, where they belong. > > Those functions are being used by the audio driver. > Not sure if I understood your comments. Several media drivers have alsa drivers: There is an audio driver for this chip and it is using those functions.