habanalabs: set clock gating according to mask
authorOfir Bitton <obitton@habana.ai>
Tue, 4 Aug 2020 10:38:43 +0000 (13:38 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 22 Aug 2020 09:47:57 +0000 (12:47 +0300)
commitf44d23b9095abd91dad9f5f3add2a3149833ec83
tree35c8da9fb2237476c6e08da90b871efa5eef1371
parent1cff11974080f47864d56ef97db228c51fcb8a0c
habanalabs: set clock gating according to mask

Once clock gating is set we enable clock gating according to mask,
we should also disable clock gating according to relevant bits.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/gaudi/gaudi.c