[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:26 +0000 (20:23 +0300)
commit5ae88f4cdd393df19980e7efcf6dbdb0568fee36
treed676753c8640612bc7ce8565b711a4772a2b52de
parent882d16256435e872f3dfa7f70a6e08dc5ab5c21d
[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