mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
Merge branch 'riscv-soc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git
This commit is contained in:
commit
e103173618
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user