public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: Patch for ymfpci in 2.5.x
Date: Fri, 11 Jan 2002 12:14:31 -0500	[thread overview]
Message-ID: <20020111121431.A10147@devserv.devel.redhat.com> (raw)
In-Reply-To: <20020111004423.A22316@devserv.devel.redhat.com>
In-Reply-To: <20020111004423.A22316@devserv.devel.redhat.com>; from zaitcev@redhat.com on Fri, Jan 11, 2002 at 12:44:23AM -0500

I am terribly sorry, but an additional fixup is needed,
as identified by Anders Rune Jensen (mental note - always
cc submissions to linux-kernel. So many good eyeballs).

--- linux-2.4.17-niph/drivers/sound/ymfpci.c.bak	Fri Jan 11 07:41:39 2002
+++ linux-2.4.17-niph/drivers/sound/ymfpci.c	Fri Jan 11 07:39:10 2002
@@ -832,7 +832,7 @@
 	u32 lpfK = ymfpci_calc_lpfK(rate);
 	ymfpci_playback_bank_t *bank;
 	int nbank;
-	unsigned le_0x40000000 = 0x40;
+	unsigned le_0x40000000 = cpu_to_le32(0x40000000);
 
 	format = (stereo ? 0x00010000 : 0) | (w_16 ? 0 : 0x80000000);
 	if (stereo)

Humbled
-- Pete

> Date: Fri, 11 Jan 2002 00:44:23 -0500
> From: Pete Zaitcev <zaitcev@redhat.com>
> To: torvalds@transmeta.com
> Cc: linux-kernel@vger.kernel.org, zaitcev@redhat.com

> While 2.5.x was a bit unstable, ymfpci in 2.4 moved ahead a bit.
> Most of it is cleanup, but there is a real fix for artsd as well.
> ALSA is supposed to supersede this code, but unless it's happening
> tomorrow we better update it before the patch grows too big.
> 
> -- Pete
> 
> diff -ur -X dontdiff linux-2.5.2-pre11/drivers/sound/ymfpci.c linux-2.5.2-pre11-p3/drivers/sound/ymfpci.c
> --- linux-2.5.2-pre11/drivers/sound/ymfpci.c	Thu Jan 10 15:52:17 2002
> +++ linux-2.5.2-pre11-p3/drivers/sound/ymfpci.c	Thu Jan 10 21:17:13 2002
>[...]

       reply	other threads:[~2002-01-11 17:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020111004423.A22316@devserv.devel.redhat.com>
2002-01-11 17:14 ` Pete Zaitcev [this message]
2002-01-11 18:36   ` Patch for ymfpci in 2.5.x Linus Torvalds
2002-01-22  5:11     ` Pete Zaitcev
2002-01-22  5:14       ` Linus Torvalds
2002-01-11  6:23 Pete Zaitcev

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=20020111121431.A10147@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox