Commit 0bcf4117 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/xe: Fix xe_tile_init_noalloc() error propagation



Propagate the error to the caller so initialization properly stops if
sysfs creation fails.

Reviewed-by: default avatarFrancois Dugast <francois.dugast@intel.com>
Reviewed-by: default avatarHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213192909.996148-4-lucas.demarchi@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
parent 121b214c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -168,9 +168,7 @@ int xe_tile_init_noalloc(struct xe_tile *tile)

	xe_wa_apply_tile_workarounds(tile);

	err = xe_tile_sysfs_init(tile);

	return 0;
	return xe_tile_sysfs_init(tile);
}

int xe_tile_init(struct xe_tile *tile)