Messages in this thread | | | Date | Tue, 20 Mar 2012 07:43:14 -0700 | From | Nick Dyer <> | Subject | Re: [PATCH 05/20] Input: atmel_mxt_ts - dump mxt_read/write_reg |
| |
Daniel Kurtz wrote: > For verbose on-the-wire debugging. > Prints DUMP_LEN bytes (in hex) per line. > > Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
I don't think this belongs in the driver. If you want low level i2c transfer dumps, it should go in i2c subsystem.
Plus, there is the print_hex_dump function for hex dumps.
cheers
-- Nick Dyer Software Engineer, ITDev Ltd Hardware and Software Development Consultancy Website: http://www.itdev.co.uk
| |