Re: [PATCH] sdio: fix suspend/resume regression

From: Nicolas Pitre
Date: Thu Oct 21 2010 - 19:55:23 EST


On Fri, 22 Oct 2010, Maxim Levitsky wrote:

> So what happens if you set .suspend to NULL? instead of -ENOSYS return?

At run time, the driver may decide to handle the suspend request and
return 0, or decide to simply return -ENOSYS if it doesn't want to
bother with the suspend meaning that the card should be removed, or
return another error code meaning that the suspend request must be
aborted.



Nicolas
--
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/