* Paul Walmsley <paul@xxxxxxxxx> [111006 15:37]: > On Thu, 9 Jun 2011, Tomi Valkeinen wrote: > > > get_context_loss_count functions return context loss count as u32, and > > zero means an error. However, zero is also returned when context has > > never been lost and could also be returned when the context loss count > > has wrapped and goes to zero. > > > > Change the functions to return an int, with negative value meaning an > > error. > > > > OMAP HSMMC code uses omap_pm_get_dev_context_loss_count(), but as the > > hsmmc code handles the returned value as an int, with negative value > > meaning an error, this patch actually fixes hsmmc code also. > > > > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx> > > Acked-by: Kevin Hilman <khilman@xxxxxx> > > Acked-by: Paul Walmsley <paul@xxxxxxxxx>> Thanks, picking this into fixes-part2 branch as requested by Paul. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html