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:Bart Van Assche <bvanassche@google.com>
Loading