From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: sigmadsp: adau1701: Version mismatch while loading firmware in 3.18.3 Date: Wed, 28 Jan 2015 15:00:26 +0100 Message-ID: <54C8EB7A.7010901@metafoo.de> References: <54C8E881.60106@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-012.synserver.de (smtp-out-012.synserver.de [212.40.185.12]) by alsa0.perex.cz (Postfix) with ESMTP id A4C8C261A60 for ; Wed, 28 Jan 2015 15:00:25 +0100 (CET) In-Reply-To: <54C8E881.60106@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Pascal Huerst Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 01/28/2015 02:47 PM, Pascal Huerst wrote: > Hello Lars-Peter, > > i followed the instructions on: > > http://wiki.analog.com/resources/tools-software/linux-software/sigmadsp_genfirmware > > and built the firmware from my xml-file. But when the driver loads, I > always get: > > adau1701 2-0034: Failed to load firmware: Invalid version 2. Supported > firmware versions: 1 > adau1701 2-0034: Failed to load firmware > adau1701 2-0034: ASoC: can't set adau1701 hw params: -22 > > I have been using that .xml/.bin file in 3.14.13 for some time, but now > in 3.18.3 I always get the version mismatch from above. Hi, Are you sure that the you were previously using a v2 firmware file? v2 was not supported until recently and loading it with the v1 loader would just result in garbage being written to the device. The patch[1] that adds support for v2 is pretty standalone and you should be able to backport it to v3.18. - Lars [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/sound/soc/codecs/sigmadsp.c?id=a35daac77a0397d4f23b642d3dc0684682e56cc5