[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091020102540.GB28592@opensource.wolfsonmicro.com>
Date: Tue, 20 Oct 2009 11:25:40 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Peter Ujfalusi <peter.ujfalusi@...ia.com>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, sameo@...ux.intel.com, tony@...mide.com
Subject: Re: [PATCH 4/4] ASoC: TWL4030: Driver registration via
twl4030_codec MFD
On Mon, Oct 19, 2009 at 03:42:20PM +0300, Peter Ujfalusi wrote:
> TWL4030 codec is now using the device registration via
> tlw4030_codec MFD device.
This looks pretty good but obviously depends on the MFD changes. The
major thing that jumps out at me is the removal of the register
definitions from the ASoC headers - it might be nice to have that done
as part of the MFD patch, or as a separate patch.
You've also got the bias being brought up when the ASoC system comes up
rather than when the driver comes up. To be honest it doesn't really
make any difference either way, it's just slightly different to other
drivers. What is useful with things like twl4030 which take a little
while to come up is if you can do the bias bringup out of line from
device probe, avoiding blocking system startup on CODEC bringup. That's
definitely a separate patch, I'm just mentioning it for interest here.
There's also a couple of debug prints (like in the remove function) and
> +MODULE_ALIAS("platform:twl4030_codec:audio");
Is that second colon right given...
> + .driver = {
> + .name = "twl4030_codec_audio",
> + .owner = THIS_MODULE,
this.
--
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