The patch titled drivers/w1/masters/w1-gpio.c: fix read_bit() has been removed from the -mm tree. Its filename was drivers-w1-masters-w1-gpioc-fix-read_bit.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/w1/masters/w1-gpio.c: fix read_bit() From: Daniel Mack <daniel@xxxxxxxx> W1 master implementations are expected to return 0 or 1 from their read_bit() function. However, not all platforms do return these values from gpio_get_value() - namely PXAs won't. Hence the w1 gpio-master needs to break the result down to 0 or 1 itself. Signed-off-by: Daniel Mack <daniel@xxxxxxxx> Cc: Ville Syrjala <syrjala@xxxxxx> Cc: Evgeniy Polyakov <johnpol@xxxxxxxxxxx> Cc: David Brownell <david-b@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/w1/masters/w1-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/w1/masters/w1-gpio.c~drivers-w1-masters-w1-gpioc-fix-read_bit drivers/w1/masters/w1-gpio.c --- a/drivers/w1/masters/w1-gpio.c~drivers-w1-masters-w1-gpioc-fix-read_bit +++ a/drivers/w1/masters/w1-gpio.c @@ -39,7 +39,7 @@ static u8 w1_gpio_read_bit(void *data) { struct w1_gpio_platform_data *pdata = data; - return gpio_get_value(pdata->pin); + return gpio_get_value(pdata->pin) ? 1 : 0; } static int __init w1_gpio_probe(struct platform_device *pdev) _ Patches currently in -mm which might be from daniel@xxxxxxxx are origin.patch linux-next.patch drivers-misc-isl29003c-driver-for-the-isl29003-ambient-light-sensor.patch drivers-misc-isl29003c-driver-for-the-isl29003-ambient-light-sensor-fix.patch w1-coding-style-cleanups-in-w1_ioc.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html