drm/radeon: add a i2c bus mutex
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 8 May 2014 14:58:04 +0000 (10:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Jun 2014 14:25:02 +0000 (10:25 -0400)
commit831719d62f692e28699a7acd7b441c6f0c01b6f7
tree7f9bcfe0d74ae6cae476ab9b597b1a6abfd80446
parent182407a6ed5333fc37dd980a8de91a8f826a94f6
drm/radeon: add a i2c bus mutex

The i2c and aux buses use the same pads so add
a mutex to protect access to the pads.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/atombios_i2c.c
drivers/gpu/drm/radeon/radeon_i2c.c
drivers/gpu/drm/radeon/radeon_mode.h