Description | Ensure pre_enable is called before enable in NWL-DSI driver The NWL-DSI driver expects the DSI initialization sequence to be executed in the `enable` function of the panel/bridge. To ensure proper behavior, the `pre_enable` function must be called beforehand, as it is responsible for activating regulators depending on the panel/bridge implementation. Failure to call `pre_enable` can lead to unbalanced `regulator_enable()` and `regulator_disable()` calls. This imbalance can cause kernel stack traces during `regulator_disable()` if the regulators were never activated. This change ensures that `pre_enable` is invoked before `enable`, maintaining proper regulator handling and preventing potential kernel issues. |
---|