[alsa-devel] [PATCH v2 2/2] ASoC: tlv320aic32x4: Add rstn gpio to platform data.
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri Nov 2 15:40:27 CET 2012
On Thu, Nov 01, 2012 at 04:28:59PM +0100, Mike Looijmans wrote:
> >This breaks down if any of the drivers actually uses the reset pin to
> >reset the chip - if the reset might not actually happen but the driver
> >wants it to happen then things are going to go wrong.
> Good point. But in that case, the gpio cannot be "optional", the
> board file MUST supply it.
Well, what normally happens is that the driver has some alternative
ways of doing what it wants but if there's a reset signal present it
wants to actually use it and be able to rely on it doing the job.
> Do I understand correctly that I'm totally alone in this and that
> there is no point in uploading the code?
If you want to do something like this you should explictly model reset
lines like this rather than shoehorning them into a different subsystem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121102/6ecc92f9/attachment.sig>
More information about the Alsa-devel
mailing list