i2c: pm_smbus: Make the I2C block read command read-only
It did have write capability, but the manual says the behavior with write enabled is undefined. So just set an error in this case. Signed-off-by: NCorey Minyard <cminyard@mvista.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1534796770-10295-4-git-send-email-minyard@acm.org> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
想要评论请 注册 或 登录