mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ezequiel Garcia <elezegarcia@gmail.com>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	Ralf Baechle <ralf@linux-mips.org>,
	Jaroslav Kysela <perex@perex.cz>,
	Clemens Ladisch <clemens@ladisch.de>
Subject: Re: [PATCH 2/3] swarm_cs4297: Rename AC97 registers to use sound/ac97_codec.h definitions
Date: Tue, 19 Jun 2012 07:38:11 +0200	[thread overview]
Message-ID: <s5ha9zz97zw.wl%tiwai@suse.de> (raw)
In-Reply-To: <CALF0-+Ukw2+whn5zpA4R6PjN0BoLm5aUhQKUNQt0rpWM1vNXFA@mail.gmail.com>

At Mon, 18 Jun 2012 14:50:53 -0300,
Ezequiel Garcia wrote:
> 
> Hi Takashi,
> 
> On Mon, Jun 18, 2012 at 11:04 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Mon, 11 Jun 2012 16:58:50 -0300,
> > Ezequiel Garcia wrote:
> >>
> >> This patch removes the last usage of linux/ac97_codec.h
> >> by renaming ac97 registers to use sound/ac97_codec.h definitions.
> >> This will enable us to remove linux/ac97_codec.h.
> >>
> >> Not even compilation tested.
> >>
> >> Cc: Ralf Baechle <ralf@linux-mips.org>
> >> Cc: Jaroslav Kysela <perex@perex.cz>
> >> Cc: Takashi Iwai <tiwai@suse.de>
> >> Cc: Clemens Ladisch <clemens@ladisch.de>
> >> Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
> >> ---
> >> Hi all,
> >>
> >> This patch is important so we can remove linux/ac97_codec.h usage.
> >> Since this driver is mips related, I can't test it until I install
> >> a mips toolchain.
> >> If someone can compile this for me, or even test it with real
> >> hardware I think it would be better.
> >> If not then I can install a mips toolchain and compile it myself,
> >> but I won't be able to test it on real hardware.
> >>
> >> This patch should be treated with carefully and be applied only
> >> if someone manages to test it.
> >
> > A slight concern by this change is that the driver includes
> > sound/ac97_codec.h although it's based on OSS framework.
> > sound/ac97_codec.h is the header for ALSA ac97 structs, and this can't
> > be mixed up with OSS.
> >
> > If the intention is only about AC97 register definition, we may split
> > ac97_codec.h into ac97_regs.h and ac97_codecs.h where the former
> > contains only the register definitions (thus framework-neutral) and
> > the latter includes the former.
> >
> >
> 
> Yes, splitting sounds good to me. It could be useful for other ac97
> drivers (e.g. em28xx).
> 
> I wonder if anyone is using this swarm driver (and/or can test).
> 
> Also, is there any date scheduled for OSS removal?

Well, so far, we've got rid of OSS drivers only that have the
equivalent ALSA drivers.  It's a difficult question when we are
allowed to remove such old stuff...


Takashi

  reply	other threads:[~2012-06-19  5:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 19:58 [PATCH 1/3] maestro3: Remove unused AC97 register definitions Ezequiel Garcia
2012-06-11 19:58 ` [PATCH 2/3] swarm_cs4297: Rename AC97 registers to use sound/ac97_codec.h definitions Ezequiel Garcia
2012-06-18 14:04   ` Takashi Iwai
2012-06-18 17:50     ` Ezequiel Garcia
2012-06-19  5:38       ` Takashi Iwai [this message]
2012-06-19 12:41         ` Ezequiel Garcia
2012-06-19 12:47           ` Takashi Iwai
2012-06-19 19:13             ` Ezequiel Garcia
2012-07-07 23:06               ` Maciej W. Rozycki
2012-06-11 19:58 ` [PATCH 3/3] Remove unused include/linux/ac97_codec.h header Ezequiel Garcia
2012-06-18 14:06 ` [PATCH 1/3] maestro3: Remove unused AC97 register definitions 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=s5ha9zz97zw.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=elezegarcia@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®