Title: [7484] trunk/drivers/input/touchscreen/ad7879.c: [#5538] kernel failed to wake up in bf538-ezkit in latest trunk
- Revision
- 7484
- Author
- hennerich
- Date
- 2009-09-28 04:50:05 -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: trunk/drivers/input/touchscreen/ad7879.c (7483 => 7484)
--- trunk/drivers/input/touchscreen/ad7879.c 2009-09-28 08:25:57 UTC (rev 7483)
+++ trunk/drivers/input/touchscreen/ad7879.c 2009-09-28 08:50:05 UTC (rev 7484)
@@ -645,7 +645,7 @@
kfree(ts);
}
- return 0;
+ return error;
}
static int __devexit ad7879_remove(struct spi_device *spi)
@@ -732,7 +732,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