diff options
| author | Viresh Kumar <[email protected]> | 2023-10-27 12:40:04 +0530 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2023-11-28 16:03:04 +0530 |
| commit | 073d3d2ca7d462afc8159ca0175675b9b7b4f162 (patch) | |
| tree | 3cfa67ed8a9901682bb8b14e4634e47968d32466 /lib/crypto/mpi/mpi-add.c | |
| parent | 4c58e9d85c24b5281a2d39a3e6510b5f3b7fc687 (diff) | |
OPP: Level zero is valid
The level zero can be used by some OPPs to drop performance state vote
for the device. It is perfectly fine to allow the same.
_set_opp_level() considers it as an invalid value currently and returns
early.
In order to support this properly, initialize the level field with
U32_MAX, which denotes unused level field.
Reported-by: Stephan Gerhold <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Tested-by: Stephan Gerhold <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions