aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2010-02-26 14:36:54 +0800
committerMark Brown <[email protected]>2010-03-03 19:19:36 +0000
commite555317c083fda01f516d2153589e82514e20e70 (patch)
tree1f1ce47dbf97b22b41560295da81d263c052132c /net/lapb/lapb_iface.c
parentbb1c04784d39b95a4382bd283f3048c4eb859b58 (diff)
ASoC: fix ak4104 register array access
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 <[email protected]> Acked-by: Liam Girdwood <[email protected]> Cc: [email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions