lib: sbi: mpxy: Register extension unconditionally

Register the MPXY ecall extension unconditionally, as this is too early
in the init order and any channel might not have been registered yet.

Reviewed-by: Rahul Pathak <rahul.pathak@oss.qualcomm.com>
Signed-off-by: Oza Pawandeep <pawandeep.oza@oss.qualcomm.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20261118215549.2499040-8-pawandeep.oza@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Oza Pawandeep authored and Anup Patel committed 2026-11-19 18:22:30 +05:30
1 parent bd873ab56a
commit 61f1973bd5
1 file changed
+4 -3
+4 -3
View File
@@ -57,9 +57,10 @@ struct sbi_ecall_extension ecall_mpxy;
static int sbi_ecall_mpxy_register_extensions(void) static int sbi_ecall_mpxy_register_extensions(void)
{ {
if (!sbi_mpxy_channel_available()) /*
return 0; * Register the MPXY ecall extension unconditionally, as this is too early
* in the init order and any channel might not have been registered yet.
*/
return sbi_ecall_register_extension(&ecall_mpxy); return sbi_ecall_register_extension(&ecall_mpxy);
} }