From: Jaehoon Chung Date: Thu, 12 May 2011 08:18:59 +0000 (+0900) Subject: mmc: core: duplicated trial with same freq in mmc_rescan_try_freq() X-Git-Tag: v3.0-rc1~148^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06b2233a20bf25c8ee57b7c6e13f528309ac6edc;p=pandora-kernel.git mmc: core: duplicated trial with same freq in mmc_rescan_try_freq() mmc_rescan_try_freq() tries to init two times with the last frequency. For example, if host->f_min is 400KHz, we see the message below: mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz Andy Ross says that he didn't try this code on a board with an f_min that exactly matches one of the table entries, which explains why the bug wasn't detected. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park Cc: Andy Ross Signed-off-by: Chris Ball --- Reading git-diff-tree failed