[RAMEN9610-14887][common][9610] wlbt: complete fw_panic_done only on fw_panic
authorPurnendu Kapadia <p.kapadia@samsung.com>
Tue, 23 Apr 2019 09:53:18 +0000 (10:53 +0100)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:44:46 +0000 (23:44 +0900)
commit76d40a2c6dfbd8ba778ecb5bafc630daf9a681ea
treeb1142e91eb465a353056f11312db5f8148a3c0a7
parentf40a50e530ad371ba0aceea51b55e6c68e4f725e
[RAMEN9610-14887][common][9610] wlbt: complete fw_panic_done only on fw_panic

We want to prevent fw_panic_done completion happening in case of non
fw_panic SABLE trigger. Introduce response codes corresponding to each
situation based on if it is fw_panic or other trigger from wlbtd and
check for specific condition before completing individual completion.

This change is dependent upon corresponding wlbtd v3.1 which is providing
appropriate response_codes.

SCSC-Bug-Id: SSB-51921
Change-Id: Ia11bd8d8abc370f615222a3ce768b749ac876008
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
drivers/misc/samsung/scsc/scsc_wlbtd.c
drivers/misc/samsung/scsc/scsc_wlbtd.h