Title: [7485] branches/2009R1/drivers/input/touchscreen/ad7879.c: [#5538] kernel failed to wake up in bf538-ezkit in latest trunk
- Revision
- 7485
- Author
- hennerich
- Date
- 2009-09-28 04:51:44 -0400 (Mon, 28 Sep 2009)
Log Message
[#5538] kernel failed to wake up in bf538-ezkit in latest trunk
Return proper errno in case probe fails. This will prevent bugs
during CONFIG_PM suspend/resume transitions.
Modified Paths
Diff
Modified: branches/2009R1/drivers/input/touchscreen/ad7879.c (7484 => 7485)
--- branches/2009R1/drivers/input/touchscreen/ad7879.c 2009-09-28 08:50:05 UTC (rev 7484)
+++ branches/2009R1/drivers/input/touchscreen/ad7879.c 2009-09-28 08:51:44 UTC (rev 7485)
@@ -644,7 +644,7 @@
kfree(ts);
}
- return 0;
+ return error;
}
static int __devexit ad7879_remove(struct spi_device *spi)
@@ -731,7 +731,7 @@
kfree(ts);
}
- return 0;
+ return error;
}
static int __devexit ad7879_remove(struct i2c_client *client)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits