Commit 3faeb35c authored by Kulikov Vasiliy's avatar Kulikov Vasiliy Committed by Samuel Ortiz

touchscreen: Fix sign bug

platform_get_irq_byname() can return negative results, it is not seen to
unsigned ts_irq. Make it signed.
Signed-off-by: default avatarKulikov Vasiliy <segooon@gmail.com>
Acked-By: default avatarLuotao Fu <l.fu@pengutronix.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 31fc03df
......@@ -269,7 +269,7 @@ static int __devinit stmpe_input_probe(struct platform_device *pdev)
struct input_dev *idev;
struct stmpe_ts_platform_data *ts_pdata = NULL;
int ret = 0;
unsigned int ts_irq;
int ts_irq;
ts_irq = platform_get_irq_byname(pdev, "FIFO_TH");
if (ts_irq < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment