call request_irq before or after hardware initialization?

From: Li Juen Hwang
Date: Fri Jun 29 2007 - 16:08:53 EST




Hi,

Most 1394 drivers on Linux, ohci1394 for instance, calls request_irq() before
initializing/enabling hardware chip. I'd like to reverse the order so that driver
can exit the kernel without calling free_irq() if hardware failed. Is that ok?
will it cause side effect? Thanks.


Li-Juen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/