i2c: mxc_i2c: Document how non-DM functions work
authorTrent Piepho <tpiepho@impinj.com>
Tue, 30 Apr 2019 16:08:18 +0000 (16:08 +0000)
committerHeiko Schocher <hs@denx.de>
Fri, 17 May 2019 03:35:23 +0000 (05:35 +0200)
commit6314b3c7c3acbb81471e2f525c82660ebab5b2fb
treefbe14a2867879fba03b2646279b93787c4095e19
parent5b4b680cfe29a67171ccbe439c66374cb31faca3
i2c: mxc_i2c: Document how non-DM functions work

It is not very clear how these work in relation to the exact I2C xfers
they produce.  In paticular, the address length is somewhat overloaded
in the read method.  Clearly document the existing behavior.  Maybe this
will help the next person who needs to work on this driver and not break
non-DM boards.

Cc: Nandor Han <nandor.han@ge.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Breno Matheus Lima <brenomatheus@gmail.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
drivers/i2c/mxc_i2c.c