drm/radeon/dpm/btc: off by one in btc_set_mc_special_registers()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Sep 2013 20:18:39 +0000 (23:18 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Oct 2013 21:13:47 +0000 (17:13 -0400)
commit96d8df846f52a720c8ae1fadadfad7c9e733e336
treeee0998a802288fbc72a3aaa9f05172fd560608dd
parent89cd67b326fa95872cc2b4524cd807128db6071d
drm/radeon/dpm/btc: off by one in btc_set_mc_special_registers()

It should be ">=" instead of ">" here.  The table->mc_reg_address[]
array has SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE (16) elements.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/btc_dpm.c