From: Roel Kluin Date: Wed, 3 Feb 2010 19:19:00 +0000 (+0100) Subject: MX1/MX2: -EINVAL overwritten in second iteration in mxc_gpio_setup_multiple_pins() X-Git-Tag: v2.6.34-rc2~66^2~5^2^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c17ef878fa25e04b1e8f1d8f5fa8b267753472c;p=pandora-kernel.git MX1/MX2: -EINVAL overwritten in second iteration in mxc_gpio_setup_multiple_pins() Due to the `ret = gpio_request()' below in the loop, the initial -EINVAL value of ret is overwritten. Signed-off-by: Roel Kluin Acked-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed