From: Maxime Bizon Date: Wed, 16 Mar 2011 13:58:32 +0000 (+0100) Subject: ahci: don't enable port irq before handler is registered X-Git-Tag: v2.6.39-rc5~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b3a24c57d2eeda8dba9c205342b12689c4679f9;p=pandora-kernel.git ahci: don't enable port irq before handler is registered The ahci_pmp_attach() & ahci_pmp_detach() unmask port irqs, but they are also called during port initialization, before ahci host irq handler is registered. On ce4100 platform, this sometimes triggers "irq 4: nobody cared" message when loading driver. Fixed this by not touching the register if the port is in frozen state, and mark all uninitialized port as frozen. Signed-off-by: Maxime Bizon Acked-by: Tejun Heo Cc: stable@kernel.org Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed