Skip to content
Snippets Groups Projects
Commit 9e901071 authored by Michael Burr's avatar Michael Burr Committed by Heiko Schocher
Browse files

i2c: zynq: Support for 0-length register address


Fixed bug with alen == 0 in 'i2c_write', 'i2c_read'
Further minor corrections:
- Write 'address' register before 'data' register.
- Write 'transfer_size' register before 'address' register.

Signed-off-by: default avatarMichael Burr <michael.burr@logicpd.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 0a8e823a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment