[COMMON] scsi: srpmb: enable SMC call for WSM init
authorShinkyu Park <shinkyu.park@samsung.com>
Thu, 17 May 2018 01:29:39 +0000 (10:29 +0900)
committerJunho Choi <junhosj.choi@samsung.com>
Thu, 24 May 2018 00:02:11 +0000 (09:02 +0900)
[Issue#]

[Description]

Platform Development Team
Shinkyu Park (shinkyu.park@samsung.com)

Change-Id: I3e3117c4ca12b5bf84b5fbb1105e79b1165e0309

drivers/scsi/scsi_srpmb.c

index 554beb4e9f702cf635d29e587401c533ab7f7881..64053449e3f2f1841b2e15523d6d1e84c5040f5c 100644 (file)
@@ -345,13 +345,11 @@ int init_wsm(struct device *dev)
                        goto out_srpmb_init_fail;
                }
 
-#ifdef CONFIG_EXYNOS_SMC_LOGGING
                ret = exynos_smc(SMC_SRPMB_WSM, rpmb_ctx->phy_addr, hwirq, 0);
                if (ret) {
                        dev_err(&sr_pdev->dev, "wsm smc init failed: %x\n", ret);
                        goto out_srpmb_unregister_pm;
                }
-#endif
 
                wakeup_source_init(&rpmb_ctx->wakesrc, "srpmb");
                spin_lock_init(&rpmb_ctx->lock);