All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: dbrignoli@audioscience.com
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] asihpi driver, adds tuner controls, AESEBU controls, bus master support where available
Date: Thu, 28 Jul 2005 11:20:53 +0200	[thread overview]
Message-ID: <s5hhdefthfu.wl%tiwai@suse.de> (raw)
In-Reply-To: <4445e67baeea4cd2b7d11780e13053b6@audioscience.com>

At Wed, 27 Jul 2005 22:17:54 -0700,
Delio Brignoli wrote:
> 
> Hello,
> 
> > RETURN_IF_NEG() is a bit ugly.  In your code, it's not clear whether
> > this is for a debug purpose or for checking a critical error.
> > 
> > If it's just a check, you can use snd_assert().  Otherwise, a plain
> > if() would be easier to read.
> > 
> > Could you rewrite that stuff?
> 
> I've used snd_runtime_check ( thanks for pointing me at it )

Thanks.

I found other subtle things in the new patch.

  inline int ctl_add( snd_card_t * card, snd_kcontrol_new_t * ctl, snd_card_asihpi_t * asihpi ) {

should be static inline.

  void asihpi_ctl_name_prefix( snd_kcontrol_new_t * snd_control, hpi_control_t * asihpi_control) {

should be static, too.


> I'm attaching a new patch with some extra features:
> 
> Thu Jul 28 17:03:28 NZST 2005  dbrignoli@audioscience.com
>   * added_enable_bbm_module_param
> Thu Jul 28 16:50:46 NZST 2005  dbrignoli@audioscience.com
>   * use_alsa_debug_assertions_and_printd
> Tue Jul 26 18:15:11 NZST 2005  dbrignoli@audioscience.com
>   * fixed_bus_master_buffer_size_calculation
> Tue Jul 26 18:13:50 NZST 2005  dbrignoli@audioscience.com
>   * fixed_HPI_error_handling_macro_to_include_filename
> Fri Jul 22 16:37:16 NZST 2005  dbrignoli@audioscience.com
>   * add AESEBU controls to alsa mixer
> Fri Jul 22 12:33:22 NZST 2005  dbrignoli@audioscience.com
>   * enable_HPI_stream_host_buffers_if_supported
> Thu Jul 21 16:03:58 NZST 2005  dbrignoli@audioscience.com
>   * add_tuner_controls

Please put a full changelog to commit, and add signed-off-by line?


thanks,

Takashi


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  reply	other threads:[~2005-07-28  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28  5:17 [PATCH] asihpi driver, adds tuner controls, AESEBU controls, bus master support where available Delio Brignoli
2005-07-28  9:20 ` Takashi Iwai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-28 21:59 Delio Brignoli
2005-07-29 10:37 ` 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=s5hhdefthfu.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=dbrignoli@audioscience.com \
    /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.