mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
greybus: interface: fix es2 boot-status mask
The ES2 boot status is stored in the least significant byte. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
c2d80906fb
commit
e12811eff7
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ static int gb_interface_read_and_clear_boot_status(struct gb_interface *intf)
|
|||
*/
|
||||
if (intf->ddbl1_manufacturer_id == ES2_DDBL1_MFR_ID &&
|
||||
intf->ddbl1_product_id == ES2_DDBL1_PROD_ID)
|
||||
init_status = value;
|
||||
init_status = value & 0xff;
|
||||
else
|
||||
init_status = value >> 24;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue