Thread (5 messages) 5 messages, 3 authors, 2014-08-01

Re: [PATCH] input: Add ROHM BU21023/24 Dual touch support resistive touchscreens

From: Yoichi Yuasa <hidden>
Date: 2014-08-01 10:32:28

Hi Dmitry,

On Thu, 31 Jul 2014 10:16:55 -0700
Dmitry Torokhov [off-list ref] wrote:
Hi Yuichi,

On Thu, Jul 31, 2014 at 07:54:34PM +0900, Yoichi Yuasa wrote:
quoted
Signed-off-by: Yoichi Yuasa <redacted>
I few high-level comments:

- please get rid of polling - it is not useful in production mode;
- switch to threaded interrupts so that you do not need to manage
  workqueue/work/timers;
- new drivers should use MT-B protocol with proper contact tracking. If device
  does not do good job at tracking contacts you can use input's core matching
algorithm (input_mt_assign_slots).
- please provide ST emulation as well (input_mt_report_pointer_emulation).
- the way you requesting firmware in probe path means you need to build
  firmware image into kernel or be careful how you pack it to avoid timeouts on
  boot. Since the device properties are not changing you might want to postpone
  that until somebody tries to open the device.
- please add error handling for IO operations.
- managed resources simplify the code.
Thank you for your comments.
I'll try to update.

Thanks,

Yoichi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help