mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
FROMGIT: scsi: ufs: Rename a function argument
The new name makes it clear what the meaning of the function argument is.
Link: https://lore.kernel.org/r/20211203231950.193369-3-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Acked-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit b427609e11 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next)
Bug: 204438323
Change-Id: I84338bfad20a24cb6e844507116e72fe5116df24
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Bart Van Assche
parent
88389e813f
commit
cfcf226fda
@@ -853,14 +853,14 @@ static int exynos_ufs_post_pwr_mode(struct ufs_hba *hba,
|
||||
}
|
||||
|
||||
static void exynos_ufs_specify_nexus_t_xfer_req(struct ufs_hba *hba,
|
||||
int tag, bool op)
|
||||
int tag, bool is_scsi_cmd)
|
||||
{
|
||||
struct exynos_ufs *ufs = ufshcd_get_variant(hba);
|
||||
u32 type;
|
||||
|
||||
type = hci_readl(ufs, HCI_UTRL_NEXUS_TYPE);
|
||||
|
||||
if (op)
|
||||
if (is_scsi_cmd)
|
||||
hci_writel(ufs, type | (1 << tag), HCI_UTRL_NEXUS_TYPE);
|
||||
else
|
||||
hci_writel(ufs, type & ~(1 << tag), HCI_UTRL_NEXUS_TYPE);
|
||||
|
||||
@@ -341,7 +341,8 @@ struct ufs_hba_variant_ops {
|
||||
enum ufs_notify_change_status status,
|
||||
struct ufs_pa_layer_attr *,
|
||||
struct ufs_pa_layer_attr *);
|
||||
void (*setup_xfer_req)(struct ufs_hba *, int, bool);
|
||||
void (*setup_xfer_req)(struct ufs_hba *hba, int tag,
|
||||
bool is_scsi_cmd);
|
||||
void (*setup_task_mgmt)(struct ufs_hba *, int, u8);
|
||||
void (*hibern8_notify)(struct ufs_hba *, enum uic_cmd_dme,
|
||||
enum ufs_notify_change_status);
|
||||
|
||||
Reference in New Issue
Block a user