Re: [PATCH] ALSA: ASoC: fix ak4104 register array access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 26, 2010 at 02:36:54PM +0800, Daniel Mack wrote:
> Don't touch the variable 'reg' to construct the value for the actual SPI
> transport. This variable is again used to access the driver's register
> cache, and so random memory is overwritten.
> Compute the value in-place instead.
> 
> Signed-off-by: Daniel Mack <daniel@xxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxx

Applied, thanks.  Please CC Liam on ASoC commits.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux