drm/radeon: warn users when hw_i2c is enabled (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 15:05:02 +0000 (10:05 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 1 Apr 2014 23:58:41 +0000 (00:58 +0100)
commit2b5e579e01252cd65b073360eec69042ea77affc
tree5557f853ad6800374c6403f5ec45df3c90b6f393
parent04f8113c2da4027d04a9f7aaa24813fca669a439
drm/radeon: warn users when hw_i2c is enabled (v2)

commit d195178297de9a91246519dbfa98952b70f9a9b6 upstream.

The hw i2c engines are disabled by default as the
current implementation is still experimental.  Print
a warning when users enable it so that it's obvious
when the option is enabled.

v2: check for non-0 rather than 1

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/radeon_i2c.c