linux-mips
[Top] [All Lists]

Re: [alsa-devel] SB16 build error.

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [alsa-devel] SB16 build error.
From: Clemens Ladisch <clemens@ladisch.de>
Date: Thu, 30 Jun 2011 15:10:21 +0200
Cc: Takashi Iwai <tiwai@suse.de>, linux-arch@vger.kernel.org, linux-mips@linux-mips.org, alsa-devel@alsa-project.org, florian@linux-mips.org, "David S. Miller" <davem@davemloft.net>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, linux-kernel@vger.kernel.org, Ivan Kokshaysky <ink@jurassic.park.msu.ru>, sparclinux@vger.kernel.org, Paul Mackerras <paulus@samba.org>, Matt Turner <mattst88@gmail.com>, Florian Fainelli <florian@openwrt.org>, Richard Henderson <rth@twiddle.net>
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=Cn1EpHEy9V8Pg9vDofG2ppFvUI4=; b=HbRAjeTHyzl/zHQNJRtHhRFTrlcEmnu48bEUc7aLiYBMrh/q5v8st339/vM5TKKRYG+p8Xncy648z4LbHUkKgqSFQ1e2T0Nh+yZBnmeay23lDU8NQBf8CAhxSPKuA6+S08tPlj8lwQija6C3SEXit8W/jy1NYod4PUQzmBXgg8U=
In-reply-to: <20110630105254.GA25732@linux-mips.org>
References: <20110630091754.GA12119@linux-mips.org> <s5h8vsjy68z.wl%tiwai@suse.de> <20110630105254.GA25732@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)
Ralf Baechle wrote:
> I have no idea how big the soundblaster microcode being loaded actually is,
> that is if the reduced size of 0x1f00 will be sufficient.

The biggest file is WFM0001A.CSP with 0x2df0 bytes.

> I don't see how the old ioctl can possibly have been
> used before so there isn't a compatibility problem.

The code uses SNDRV_SB_CSP_MAX_MICROCODE_FILE_SIZE but doesn't care what
the size field of the ioctl code is, so we could use any random value on
those architectures.

> Or you could entirely sidestep the problem and use request_firmware()
> but I guess that's more effort than you want to invest.

The driver already implements this for a bunch of predefined CSP code
blobs.  I'm not sure whether anybody has ever loaded additional .csp
files.


Regards,
Clemens

<Prev in Thread] Current Thread [Next in Thread>