scsi: ufs-qcom: fix check of select_major instead of select_minor
This change fixes a bug where we check the select_minor value instead of checking the select_major value. Change-Id: I852944215a0be484449b578be09b46095fb01931 Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
This commit is contained in:
parent
b7347deae7
commit
cb90b9b081
1 changed files with 1 additions and 1 deletions
|
@ -2139,7 +2139,7 @@ static bool ufs_qcom_testbus_cfg_is_ok(struct ufs_qcom_host *host)
|
|||
* mappings of select_minor, since there is no harm in
|
||||
* configuring a non-existent select_minor
|
||||
*/
|
||||
if (host->testbus.select_major > 0x1F) {
|
||||
if (host->testbus.select_minor > 0x1F) {
|
||||
dev_err(host->hba->dev,
|
||||
"%s: 0x%05X is not a legal testbus option\n",
|
||||
__func__, host->testbus.select_minor);
|
||||
|
|
Loading…
Add table
Reference in a new issue