[ERD][RAMEN9610-20296][COMMON] driver: chub: handle invalid logbuf index
authorSukwon Ryoo <sw.ryoo@samsung.com>
Thu, 26 Sep 2019 07:20:56 +0000 (16:20 +0900)
committerrobot <robot@samsung.com>
Mon, 7 Oct 2019 05:06:34 +0000 (14:06 +0900)
commit7ee6a8588e39efd9b59569eaf7264fc0dcbfad98
tree76229b58eeb5ead9fe93e21dcd221ba77a847ca6
parent1f642a2e160b6f31e301428fc4c5096bf21b30bc
[ERD][RAMEN9610-20296][COMMON] driver: chub: handle invalid logbuf index

When an invalid logbuffer index issue happened,
1. reset eq and dq to 0
2. chub dump
also resolves prevent CID 275510, 275336 and 276075

Change-Id: I6b2f9205b4b8ed31f135e1f04a6963b9aa8bb4f0
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
drivers/staging/nanohub/chub.c
drivers/staging/nanohub/chub_ipc.c
drivers/staging/nanohub/chub_ipc.h