commit | 372dd6e8ed924e876f3beb598721e813ad7fa323 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Wed Nov 12 17:02:57 2008 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Nov 13 14:45:06 2008 -0800 |
tree | 840e634b3ff67c0a337de02947dc1b7e1b36817b | |
parent | 67b2e029743a52670d77864723b4d0d40f7733b5 [diff] |
USB: EHCI: fix divide-by-zero bug This patch (as1164) fixes a bug in the EHCI scheduler. The interval value it uses is already in linear format, not logarithmically coded. The existing code can sometimes crash the system by trying to divide by zero. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: David Brownell <david-b@pacbell.net> Cc: Stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>