]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: sysfs: Make HID attributes visible
authorDaniel Lee <chullee@google.com>
Tue, 30 Sep 2025 01:09:39 +0000 (18:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Sep 2025 19:46:28 +0000 (15:46 -0400)
commitbb7663dec67b691528f104894429b3859fb16c14
tree67c99bdcf9566f3721bac0a3a2558d2003b28b9e
parent60cd16a3b7439ccb699d0bf533799eeb894fd217
scsi: ufs: sysfs: Make HID attributes visible

Call sysfs_update_group() after reading the device descriptor to ensure
the HID sysfs attributes are visible when the feature is supported.

Fixes: ae7795a8c258 ("scsi: ufs: core: Add HID support")
Signed-off-by: Daniel Lee <chullee@google.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufs-sysfs.c
drivers/ufs/core/ufs-sysfs.h
drivers/ufs/core/ufshcd.c