Change-Id: I3d6ac23bdaef1123ac82f9b6cbb22428c917a606
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
static void ufshcd_err_handler(struct work_struct *work)
{
struct ufs_hba *hba;
- struct ufs_vreg_info *info = &hba->vreg_info;
+ struct ufs_vreg_info *info;
struct exynos_ufs *ufs;
unsigned long flags;
u32 err_xfer = 0;
bool needs_reset = false;
hba = container_of(work, struct ufs_hba, eh_work);
+ info = &hba->vreg_info;
pm_runtime_get_sync(hba->dev);
ufshcd_hold(hba, false);