tegra21: emc: Only poll single rank for PD
authorAlex Waterman <alexw@nvidia.com>
Fri, 28 Apr 2017 00:31:22 +0000 (01:31 +0100)
committerManish Tuteja <mtuteja@nvidia.com>
Sat, 29 Apr 2017 01:00:31 +0000 (18:00 -0700)
commitb71ff5846e5ce374fe4f7c6ebab51c3ca1382be8
treea05936580b6890e48afc4e9c581594cad8d85101
parent5878f5ad7599ebb1ff13cabf6712285948e2588f
tegra21: emc: Only poll single rank for PD

Only poll the single active rank for power-down status when checking if
the DRAM has left auto power-down state and there's only a single rank
of DRAM.

Bug 1906919

Change-Id: I5bc8c926e03268785425b337780e5720414342de
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1471775
Tested-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
(cherry picked from commit fdb38b913a0eda8dbb545528192e542fcdd37199)
Reviewed-on: http://git-master/r/1471830
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
drivers/platform/tegra/mc/tegra21_emc_cc_r21021.c