diff options
author | Tomer Tayar <ttayar@habana.ai> | 2022-08-03 16:36:02 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2022-09-18 13:29:51 +0300 |
commit | 65d3c635137e24625740801dc21d885f66193299 (patch) | |
tree | efa4088b2ac8f79393399c5ba756bfc8102fe53b /drivers/usb/mtu3 | |
parent | 07ecaa0d85decb73a2907a4b419cfa7739517d5e (diff) |
habanalabs: fix H/W block handling for partial unmappings
Several munmap() calls can be done or a mapped H/W block that has a
larger size than a page size.
Releasing the object should be done only when all mapped range is
unmapped.
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/usb/mtu3')
0 files changed, 0 insertions, 0 deletions