From: Christian Lamparter Date: Sun, 22 Aug 2010 20:41:33 +0000 (+0200) Subject: p54usb: fix off-by-one on !CONFIG_PM X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11791a6f7534906b4a01ffb54ba0b02ca39398ef;p=pandora-kernel.git p54usb: fix off-by-one on !CONFIG_PM The ISL3887 chip needs a USB reset, whenever the usb-frontend module "p54usb" is reloaded. This patch fixes an off-by-one bug, if the user is running a kernel without the CONFIG_PM option set and for some reason (e.g.: compat-wireless) wants to switch between different p54usb modules. Cc: Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed