Commit f5932e57 authored by Bart Van Assche's avatar Bart Van Assche Committed by William McVicker
Browse files

ANDROID: ufs: core: Make HID attributes visible



Move the function calls for creating sysfs attributes to after the code
that sets hba->hid_sup such that the "hid" attributes appear in sysfs if
Host Initiated Defragmentation (HID) is supported. This patch doesn't
apply to the upstream kernel because in the upstream kernel the
ufshcd_device_init() call has been moved into ufshcd_init(). See also
upstream commit 69f5eb78 ("scsi: ufs: core: Move the
ufshcd_device_init(hba, true) call") in upstream kernel v6.13.

Bug: 448126977
Change-Id: I495ed83e0901792cd4c28e1fff3394065bb1b64c
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 19980635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment