diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-04 02:02:28 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-04 19:54:29 -0400 |
commit | 4f71d0cb76339a10fd445b0b281acc45c71b6271 (patch) | |
tree | 9badd446ee865db48ebebe77ed8f4e3b3ca089aa /drivers/gpu/drm/radeon/radeon_i2c.c | |
parent | 885ae1c55ae46ee1064bc7cb99dc45ddd8bd0328 (diff) |
drm/dp: add a hw mutex around the transfer functions. (v2)
This should avoid races between connector probing and HPD
irqs in the future, currently mode_config.mutex blocks this
possibility.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_i2c.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_i2c.c b/drivers/gpu/drm/radeon/radeon_i2c.c index 427ee4d6d0b5..add622008407 100644 --- a/drivers/gpu/drm/radeon/radeon_i2c.c +++ b/drivers/gpu/drm/radeon/radeon_i2c.c | |||
@@ -988,7 +988,7 @@ void radeon_i2c_destroy(struct radeon_i2c_chan *i2c) | |||
988 | return; | 988 | return; |
989 | i2c_del_adapter(&i2c->adapter); | 989 | i2c_del_adapter(&i2c->adapter); |
990 | if (i2c->has_aux) | 990 | if (i2c->has_aux) |
991 | drm_dp_aux_unregister_i2c_bus(&i2c->aux); | 991 | drm_dp_aux_unregister(&i2c->aux); |
992 | kfree(i2c); | 992 | kfree(i2c); |
993 | } | 993 | } |
994 | 994 | ||