On 8/14/23 20:20, Bao D. Nguyen wrote:
How about this?
- Make ufshcd_auto_hibern8_enable() a static function. It should not > be called from the vendor drivers.
- Mandate that vendor drivers must only update auto-hibernation > settings via the ufshcd_auto_hibern8_update() api. This function
is> already exported, so only need to update the function comment to>
make it clear (updating the hba->ahit alone may result in abnormal
behavior).
That sounds good to me. I will look into implementing the above proposal.
Thanks,
Bart.