SS_ENCRYPTION is (0 << 7 = 0), so the test can never be true.
Use a direct comparison to SS_ENCRYPTION instead.
The same king of test is already done the same way in sun8i_ss_run_task().
Fixes:
|
||
|---|---|---|
| .. | ||
| sun4i-ss | ||
| sun8i-ce | ||
| sun8i-ss | ||
| Kconfig | ||
| Makefile | ||