From: Hans de Goede Date: Thu, 3 Oct 2013 22:29:46 +0000 (+0200) Subject: xhci: Check size rather then number of streams when allocating stream ctxs X-Git-Tag: v3.15-rc1~137^2~26^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4aa54bce2ae27c36998da3d32d9f55cb48ca21;p=pandora-kernel.git xhci: Check size rather then number of streams when allocating stream ctxs Before this a device needing ie 32 stream ctxs would end up with an entry from the small_streams_pool which has 256 bytes entries, where as 32 stream ctxs need 512 bytes. Things actually keep running for a surprisingly long time before crashing because of this. Signed-off-by: Hans de Goede Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed