]> git.baikalelectronics.ru Git - uboot.git/commit
arm: socfpga: mailbox: Always read mailbox responses before returning status
authorChee Hong Ang <chee.hong.ang@intel.com>
Wed, 12 Aug 2020 01:56:22 +0000 (09:56 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 9 Oct 2020 09:53:13 +0000 (17:53 +0800)
commit26982764cad21cca4c029b774b3682bda2a3dab2
treee4284e80ec88baa4e835b48f98d56984d528a4b9
parent7a42f68e9b8190f8c3040028638661a86766e21b
arm: socfpga: mailbox: Always read mailbox responses before returning status

Mailbox driver should always check for the length of the response
and read the response data before returning the response status to
caller.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/mailbox_s10.c