From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Joachim Förster" <mls.JOFT@gmx.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ML403 / ALSA driver for AC97 Controller
Date: Sat, 21 Jul 2007 14:17:21 -0600 [thread overview]
Message-ID: <fa686aa40707211317q47b12a38jbe05e4d2c89767f4@mail.gmail.com> (raw)
In-Reply-To: <1185047879.15040.34.camel@localhost>
On 7/21/07, Joachim F=F6rster <mls.JOFT@gmx.de> wrote:
> Hi all,
Thanks Joachim, this is interesting work. I'd like to see this get
into mainline.
A few initial comments:
1. You should post this code as a patch against the kernel tree.
Links to tarballs are not the best way to get code reviewed. Post
your patches to both the ALSA and linuxppc-dev mailing lists.
2. (get this out of the way quickly) Coding standard doesn't match the
kernel (indent w/ tabs, keep lines < 80 chars, etc). You should run
your code through 'scripts/Lindent' in the kernel tree. That will
sort out many of the whitespace issues.
3. In the same vein, c++ style comments need to be scrubbed.
4. Do not directly include xparameters.h in your driver. The driver
should get it's data from the platform bus registration (of the
of_device registration when we move to arch/powerpc).
5. struct 'platform_device devices[]' needs to be moved to
arch/ppc/sysdev/virtex_devices.c
6. Have you looked into the new ALSA infrastructure which separates
Codecs from controllers (in sound/soc)? It might be a good idea to go
that route for this driver.
That being said, it looks like good work. Please cc me when you send
the next version.
Thanks,
g.
---
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
next prev parent reply other threads:[~2007-07-21 20:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-21 19:57 ML403 / ALSA driver for AC97 Controller Joachim Förster
2007-07-21 20:17 ` Grant Likely [this message]
2007-08-05 8:00 ` Joachim Förster
2007-08-05 14:19 ` Grant Likely
2007-08-05 14:20 ` Grant Likely
2007-08-08 22:16 ` Timur Tabi
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=fa686aa40707211317q47b12a38jbe05e4d2c89767f4@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=linuxppc-embedded@ozlabs.org \
--cc=mls.JOFT@gmx.de \
/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;
as well as URLs for NNTP newsgroup(s).