sm8550-common: ueventd: Modify USB root hub authorize setting

Change the ownership of the authorize file to allow the USB bus reset audio
recovery mechanism in the USB HAL to work.  This only modifies the
ownership of the USB root hubs that are present on the system.  For all
other connected devices, the default ownership is fine, as the recovery is
only allowed on direct connection to the USB root hub.

Change-Id: Idbce78b52054f75c09891aa1c1c827dda60f1d0a
This commit is contained in:
Wesley Cheng
2023-05-04 18:01:12 -07:00
committed by Mezaque Silver
parent e46e4d58f4
commit 88ce57ae4e

View File

@@ -484,6 +484,9 @@ subsystem mem_buf_vm
/sys/bus/usb/devices/* power/control 0660 system usb /sys/bus/usb/devices/* power/control 0660 system usb
/sys/bus/usb/devices/* power/wakeup 0660 system usb /sys/bus/usb/devices/* power/wakeup 0660 system usb
#USB root hub authorize setting
/sys/bus/usb/devices/usb* authorized 0660 system usb
#Memory Offline #Memory Offline
/sys/devices/system/memory/memory* state 0660 system system /sys/devices/system/memory/memory* state 0660 system system