]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp: Implement I2C_M_STOP for i2c-over-aux
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 28 Sep 2018 18:04:01 +0000 (21:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Jan 2019 19:34:13 +0000 (21:34 +0200)
commitd2b594a30f82057853aeb56f4b4ac803c9765849
tree123dd75fde100087249ba69fe40074899c38f93d
parent8d83de21019d3dfced317d46a907cbf57b9d6160
drm/dp: Implement I2C_M_STOP for i2c-over-aux

Consult the I2C_M_STOP flag to determine whether to set the MOT bit or
not. Makes it possible to send multiple messages in one go with
stop+start generated between the messages (as opposed nothing or
repstart depending on whether thr address/rw changed).

Not sure anyone has actual use for this but figured I'd handle it
since I started to look at that flag for MST remote i2c xfers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928180403.22499-3-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/drm_dp_helper.c