Merge branch 'riscv-soc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git

This commit is contained in:
Stephen Rothwell 2024-12-20 09:42:05 +11:00
commit e103173618

View File

@ -402,10 +402,10 @@ static int mpfs_auto_update_available(struct mpfs_auto_update_priv *priv)
return -EIO; return -EIO;
/* /*
* Bit 5 of byte 1 is "UL_Auto Update" & if it is set, Auto Update is * Bit 5 of byte 1 is "UL_IAP" & if it is set, Auto Update is
* not possible. * not possible.
*/ */
if (response_msg[1] & AUTO_UPDATE_FEATURE_ENABLED) if ((((u8 *)response_msg)[1] & AUTO_UPDATE_FEATURE_ENABLED))
return -EPERM; return -EPERM;
return 0; return 0;