lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 5 Oct 2011 18:39:57 +0800
From:	Axel Lin <axel.lin@...il.com>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...com>,
	alsa-devel@...a-project.org
Subject: Re: [RFC][PATCH] ASoC: Fix sync reg_cache with the hardware in wm8990_resume

2011/10/5 Mark Brown <broonie@...nsource.wolfsonmicro.com>:
> On Wed, Oct 05, 2011 at 06:16:49PM +0800, Axel Lin wrote:
>> Current code has off-by-one bug of checking WM8990_RESET.
>> Besides, according to wm8990 datasheet (2-wire serial control mode):
>> A control word consists of 24 bits. The first 8 bits are address bits,
>> the remaining 16 bits are data bits.
>> Current code uses 7 bits address bits and 9 bits data bits which is incorrect.
>
> We should just convert drivers like this to snd_soc_cache_sync().

Yes. It would be better convert it to snd_soc_cache_sync().
Just think this patch may be useful for 3.1 or earlier kernel version.

Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ