]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 19:51:15 +0000 (11:51 -0800)
commitaea570ea6bc6532cc33a2fb98d3a7348781f3b76
tree6b6bbe88dcdaf4eada66b8cf18e5db5b2ade7ad2
parent11690e1491de3c35b09bff55336c14aacbdf1627
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_i2c.c