Messages in this thread | | | Date | Wed, 15 Dec 2010 22:12:49 +0800 | Subject | Re: [RFC][PATCH 2/4] PM: Remove redundant checks from core device resume routines | From | Ming Lei <> |
| |
2010/12/15 Rafael J. Wysocki <rjw@sisk.pl>: > On Tuesday, December 14, 2010, Ming Lei wrote:
>> Seems it may apply in other cases(dpm_prepare/dpm_suspend >> /dpm_suspend_noirq) too? > > I thought about that, but in these cases the status is changed after the > callback has returned and only if it's succeeded. Moreover, if the callback > hasn't been successful, the device is not moved to the new list, so I think > it's better to leave that as is.
Yes, you are right, sorry for my noise, :-(
thanks, -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |