i2c: viperboard: return message count on master_xfer success
Returning zero is wrong in this case. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NWolfram Sang <wsa@the-dreams.de> Fixes: 174a13aa ("i2c: Add viperboard i2c master driver")
Showing
想要评论请 注册 或 登录