Searched hist:fcd00ceac7b4b754c40b506fdb0ff204451eb007 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | fcd00ceac7b4b754c40b506fdb0ff204451eb007 Mon Jun 24 17:37:58 UTC 2019 Victor Chong <victor.chong@linaro.org> rpmb: fix parsing of op_result
From the eMMC spec, the "Operation result" (Table 19) -- 7 bit quantity -- is the LSB of "Operation Results data structure" -- 16-bit quantity -- minus the high order bit. In other words it is 'rpmb_data_frame::op_result[1] & 0x7F' which is probably what we should be doing here instead of bytes_to_u16().
Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
|