HID: intel-ish-hid: move doorbell writing before flush
authorHong Liu <hong.liu@intel.com>
Tue, 12 Feb 2019 12:05:22 +0000 (20:05 +0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 15 Feb 2019 21:47:21 +0000 (22:47 +0100)
commit7e06e0d5493b3e88016b247fe92f67a071d2c655
treeb9d435dd67ced4d59629795a5bfefdfcaae7ec9c
parentb22f805bbe090d42e2eed86aa075687e47f924b7
HID: intel-ish-hid: move doorbell writing before flush

Reading of IPC_REG_ISH_HOST_FWSTS will flush both message register
and doorbell. So move the doorbell write before reading of
IPC_REG_ISH_HOST_FWSTS.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Tested-by: Hongyan Song <hongyan.song@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/ipc.c