2015-09-11 16:32:00 +00:00
|
|
|
From 0e76c9361112e7a88d08b3bf3d23c6ba936de01e Mon Sep 17 00:00:00 2001
|
2015-07-17 12:48:39 +00:00
|
|
|
From: Gordon Hollingworth <gordon@fiveninjas.com>
|
|
|
|
Date: Tue, 23 Jun 2015 09:53:40 +0100
|
2015-09-11 16:32:00 +00:00
|
|
|
Subject: [PATCH 080/171] Fix driver detection failure Check that the buffer
|
2015-07-17 12:48:39 +00:00
|
|
|
response is non-zero meaning the touchscreen was detected
|
|
|
|
|
|
|
|
---
|
|
|
|
drivers/input/touchscreen/rpi-ft5406.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/drivers/input/touchscreen/rpi-ft5406.c
|
|
|
|
+++ b/drivers/input/touchscreen/rpi-ft5406.c
|
|
|
|
@@ -184,7 +184,7 @@ static int ft5406_probe(struct platform_
|
|
|
|
|
|
|
|
bcm_mailbox_property(&request, sizeof(request));
|
|
|
|
|
|
|
|
- if(request.request_code == VCMSG_REQUEST_SUCCESSFUL)
|
|
|
|
+ if(request.request_code == VCMSG_REQUEST_SUCCESSFUL && request.tag.val != 0)
|
|
|
|
{
|
|
|
|
dev_dbg(&pdev->dev, "Got TS buffer 0x%x\n", request.tag.val);
|
|
|
|
}
|