All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: snd-soc-cs4270: Convert to a new-style i2c driver (work in progress)
Date: Tue, 02 Sep 2008 10:03:59 -0500	[thread overview]
Message-ID: <48BD55DF.8060203@freescale.com> (raw)
In-Reply-To: <20080831190928.2931b0ed@hyperion.delvare>

Jean Delvare wrote:

> * Your driver now lacks a remove method. Unless I miss something, if
> the snd-soc-cs4270 driver is unloaded, you will leave dangling
> resources behind (codec->reg_cache in particular.)

Indeed, but then, I don't think I ever supported loading and unload this driver
as a module.  The Kconfig does say it's a tristate, though.  I'll take a look at
it.

Most of my real development is going to the ASoC V2 version of this driver, and
that version should be a lot better.  I'll take another look at both driver to
make sure I didn't screw this up.

> * I2C_DRIVERID_CS4270 must be removed from i2c-id.h.

It can't be removed until this patch goes upstream, but thanks for the reminder.

> As I understand it, without that patch the mpc8610_hpcd doesn't work,
> as the I2C address of the sound codec will be made busy by the platform
> code and thus the snd-soc-cs4270 driver won't be able to attach to it.

That's correct.  I though I made that clear in the changelog.

> Do you
> know off the top of your head if other drivers have already been
> converted?

I doubt it.  ASoC V1 doesn't generally support PowerPC, although there is code
to make it work.  That's why there's not a lot of support across the board for
PowerPC-isms.

-- 
Timur Tabi
Linux kernel developer at Freescale

  parent reply	other threads:[~2008-09-02 15:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-31 14:18 snd-soc-cs4270: Convert to a new-style i2c driver (work in progress) Jean Delvare
2008-08-31 14:47 ` Jon Smirl
     [not found] ` <ed82fe3e0808310928v18eed8bdh98faa6796a516142@mail.gmail.com>
2008-08-31 17:09   ` Jean Delvare
2008-08-31 17:17     ` Mark Brown
2008-09-02 15:03     ` Timur Tabi [this message]
2008-09-03 19:47     ` Timur Tabi
2008-09-03 20:30       ` Timur Tabi
2008-09-03 20:44         ` Jean Delvare
2008-09-03 21:21           ` Timur Tabi
2008-09-03 21:27             ` Timur Tabi
2008-09-04 10:42         ` Mark Brown
2008-09-04 14:44           ` Timur Tabi
2008-09-01  6:01 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48BD55DF.8060203@freescale.com \
    --to=timur@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=khali@linux-fr.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.