greybus: i2c-gb: fix bad message size in gb_i2c
The data_in_size variable was set to 1 for the status byte. But now, the status byte has move to header. Then, the status byte is "allocated" twice and cause bad message size error. Signed-off-by: NAlexandre Bailon <abailon@baylibre.com> Reviewed-by: NAlex Elder <elder@linaro.org> Signed-off-by: NGreg Kroah-Hartman <greg@kroah.com>
Showing
想要评论请 注册 或 登录