OSDN Git Service

soc: qcom: Fix checks for QMI response values
authorPuja Gupta <pujag@codeaurora.org>
Mon, 15 May 2017 18:15:07 +0000 (11:15 -0700)
committerPuja Gupta <pujag@codeaurora.org>
Mon, 15 May 2017 20:26:51 +0000 (13:26 -0700)
commit91747af56140bd76dde0550592117f3555bd16d5
tree0fc320dfcc2b720e27b7b569f326762625b42999
parent75a9d0fee5b264c89afdc8b155848625fcbe9ca0
soc: qcom: Fix checks for QMI response values

The return values from QMI could be compared directly and was
incorrectly interpreted in service locator and notifier.

Also initialize structure in service locator so as to not have garbage
values in them.

Change-Id: I7f8f27857706e9508b64289d9263c79494c17a8d
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
drivers/soc/qcom/service-locator.c
drivers/soc/qcom/service-notifier.c
include/soc/qcom/msm_qmi_interface.h