diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2016-12-01 14:18:47 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-06-30 18:24:32 +0200 |
commit | d52931aac9516724d3067516ca1c4ef762f0daea (patch) | |
tree | 35f53a8e91616b8184c95b2ae6899a8c17186315 /drivers/input | |
parent | e5ea4ac452f04e3d534567928b39afef7d11b94c (diff) |
apalis-tk1-k20: can and spi improvements
This patch includes CAN driver and improvements in SPI communications
for Apalis TK1 k20 based MFD.
Requires firmware version 0.9.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/apalis-tk1-k20_ts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/apalis-tk1-k20_ts.c b/drivers/input/touchscreen/apalis-tk1-k20_ts.c index 43cb25fa8fc9..38e4a3003c8d 100644 --- a/drivers/input/touchscreen/apalis-tk1-k20_ts.c +++ b/drivers/input/touchscreen/apalis-tk1-k20_ts.c @@ -37,7 +37,7 @@ static irqreturn_t apalis_tk1_k20_ts_handler(int irq, void *data) * Kick off reading coordinates. Note that if work happens already * be queued for future execution (it rearms itself) it will not * be rescheduled for immediate execution here. However the rearm - * delay is HZ / 50 which is acceptable. + * delay is HZ / 25 which is acceptable. */ queue_delayed_work(priv->workq, &priv->work, 0); @@ -167,8 +167,8 @@ static int __init apalis_tk1_k20_ts_probe(struct platform_device *pdev) idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); - input_set_abs_params(idev, ABS_X, 0, 0xffff, 0, 0); - input_set_abs_params(idev, ABS_Y, 0, 0xffff, 0, 0); + input_set_abs_params(idev, ABS_X, 0, 0xfff, 0, 0); + input_set_abs_params(idev, ABS_Y, 0, 0xfff, 0, 0); input_set_abs_params(idev, ABS_PRESSURE, 0, 0xfff, 0, 0); idev->open = apalis_tk1_k20_ts_open; |