| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for MAXI MAX11801 - A Resistive touch screen controller with |
|---|
| 3 | 4 | * i2c interface |
|---|
| .. | .. |
|---|
| 6 | 7 | * Author: Zhang Jiejing <jiejing.zhang@freescale.com> |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Based on mcs5000_ts.c |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | | - * (at your option) any later version. |
|---|
| 14 | 10 | */ |
|---|
| 15 | 11 | |
|---|
| 16 | 12 | /* |
|---|
| .. | .. |
|---|
| 134 | 130 | |
|---|
| 135 | 131 | switch (buf[1] & EVENT_TAG_MASK) { |
|---|
| 136 | 132 | case EVENT_INIT: |
|---|
| 137 | | - /* fall through */ |
|---|
| 138 | 133 | case EVENT_MIDDLE: |
|---|
| 139 | 134 | input_report_abs(data->input_dev, ABS_X, x); |
|---|
| 140 | 135 | input_report_abs(data->input_dev, ABS_Y, y); |
|---|