i2c: i2c_master_send(): don't leave flags uninitialized
Leaving the flags field unitialized can lead to performing
read operation instead of write operation.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bdf5be3 commit 2b3659b9648b26b485f13428bb3d3ccaf3517465
@Antony Pavlov Antony Pavlov authored on 8 Feb 2018
Sascha Hauer committed on 9 Feb 2018
Showing 1 changed file
View
drivers/i2c/i2c.c