aboutsummaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-12-20 19:22:33 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-06 15:03:23 -0800
commit1ee0552bc1fa0fe88b39743920bdd5f8715a3e47 (patch)
tree1c8d7c61bd2dadfb198f120306b99aba6c0c33e5 /sound/soc
parentf31733a7aa32257dac6390f080814a7f76b419bf (diff)
pata_cmd64x: fix overclocking of UDMA0-2 modes
commit 509426bd46ad0903dca409803e0ee3d30f99f1e8 upstream. adev->dma_mode stores the transfer mode value not UDMA mode number so the condition in cmd64x_set_dmamode() is always true and the higher UDMA clock is always selected. This can potentially result in data corruption when UDMA33 device is used, when 40-wire cable is used or when the error recovery code decides to lower the device speed down. The issue was introduced in the commit 6a40da0 ("libata cmd64x: whack into a shape that looks like the documentation") which goes back to kernel 2.6.20. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions