From: Michael Buesch Date: Wed, 18 Feb 2009 22:48:41 +0000 (-0800) Subject: spi-gpio: sanitize MISO bitvalue X-Git-Tag: v2.6.29-rc6~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be50344e604f956891fc0013f1ba78823a758124;p=pandora-kernel.git spi-gpio: sanitize MISO bitvalue gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1. Sanitize the value to a 0/1 boolean. Signed-off-by: Michael Buesch Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed