Title: [8964] trunk/drivers/video/bfin_adv7393fb.c: bfin_adv7393: only grab PPI0_FS3 when the anomaly applies; otherwise we cannot load this module at the same time as the i2c-gpio on a BF533-STAMP since the I2C GPIO uses the same pin as PPI0_FS3 (and no BF533-STAMP is affected by this anomaly)
Revision
8964
Author
vapier
Date
2010-07-02 16:58:13 -0400 (Fri, 02 Jul 2010)

Log Message

bfin_adv7393: only grab PPI0_FS3 when the anomaly applies; otherwise we cannot load this module at the same time as the i2c-gpio on a BF533-STAMP since the I2C GPIO uses the same pin as PPI0_FS3 (and no BF533-STAMP is affected by this anomaly)

Modified Paths

Diff

Modified: trunk/drivers/video/bfin_adv7393fb.c (8963 => 8964)


--- trunk/drivers/video/bfin_adv7393fb.c	2010-07-02 20:44:16 UTC (rev 8963)
+++ trunk/drivers/video/bfin_adv7393fb.c	2010-07-02 20:58:13 UTC (rev 8964)
@@ -406,7 +406,7 @@
 	/* This implicitly covers ANOMALY_05000400
 	 * PPI Does Not Start Properly In Specific Mode
 	 */
-	if (gpio_request(P_IDENT(P_PPI0_FS3), "PPI0_FS3")) {
+	if (ANOMALY_05000400 && gpio_request(P_IDENT(P_PPI0_FS3), "PPI0_FS3")) {
 		dev_err(&client->dev, "PPI0_FS3 GPIO request failed\n");
 		return -EBUSY;
 	}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to