Merge "rtac: Fix return value of misc_register in init"

This commit is contained in:
Linux Build Service Account 2018-04-20 14:49:50 -07:00 • committed by Gerrit - the friendly Code Review server
commit 42eac9c48e

View file

@ -2051,7 +2051,10 @@ int __init rtac_init(void)
kzfree(rtac_asm_buffer);
kzfree(rtac_afe_buffer);
kzfree(rtac_voice_buffer);
goto nomem;
}
return 0;
nomem:
return -ENOMEM;
}