diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2020-11-22 11:02:50 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:38 +0200 |
| commit | 3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42 (patch) | |
| tree | d77f36932e447397b8369da3bc9c871f202f315f /drivers/fpga/fpga-mgr.c | |
| parent | habanalabs: change messages to debug level (diff) | |
| download | linux-3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42.tar.gz linux-3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42.zip | |
habanalabs: Add mask for CS type bits in CS flags
hl_cs_sanity_checks() extracts the CS type bits of the CS flags, by
masking out the non-type bits.
To save the need for updating the function whenever new bits for
non-type flags are added, add an explicit mask for the CS type bits.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
