Skip to content

Commit fe581fb

Browse files
committed
fixup! drm/asahi: Adapt to v6.15 + v6.16-rc1 rust / driver-core(rust)
1 parent 6dc7d3b commit fe581fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/asahi/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl platform::Driver for AsahiDriver {
149149

150150
let cfg = info.ok_or(ENODEV)?;
151151

152-
unsafe { pdev.dma_set_mask_and_coherent(DmaMask::try_new((1 << cfg.uat_oas) - 1)?)? };
152+
unsafe { pdev.dma_set_mask_and_coherent(DmaMask::try_new(cfg.uat_oas)?)? };
153153

154154
let res = regs::Resources::new(pdev)?;
155155

0 commit comments

Comments
 (0)