diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2011-12-10 01:12:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-10 03:26:09 (GMT) |
commit | 2f637ee42d4a60e1c3823beff3699354bd4400be (patch) | |
tree | 7f63652f89093630f6ac93e3443f28426d075bfb /drivers/cpufreq/powernow-k8.h | |
parent | 60c01a977814788178362ff0e1a22dfbf106eede (diff) | |
download | linux-fsl-qoriq-2f637ee42d4a60e1c3823beff3699354bd4400be.tar.xz |
staging: line6: fix playback urb transfer buffer calculation
The playback urb transfer buffer calculation does not factor in
LINE6_ISO_PACKETS. Buffer memory is organized like this in the driver:
Buffer 0 Buffer 1 ...
[Packet 0, Packet 1, ...][Packet 0, Packet 1, ...][Packet 0, ...]
However, we're lucky that LINE6_ISO_PACKETS is currently defined as 1 so
this patch does not change any behavior. It's still worth including
this fix in case the LINE6_ISO_PACKETS value is changed in the future.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/cpufreq/powernow-k8.h')
0 files changed, 0 insertions, 0 deletions