HSI: omap_ssi_port: replace wkin_cken with atomic bitmap operations
authorSebastian Reichel <sre@kernel.org>
Sat, 30 Apr 2016 15:11:54 +0000 (17:11 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 27 Jun 2016 22:38:47 +0000 (00:38 +0200)
commit2083057aacecbd79ed73670763f07e6e7c1acd66
tree92608f1337e83e95c3ae3c60145e24b253d2b57f
parentcb70e4c1bc96604953f5792f71ba9ba104705154
HSI: omap_ssi_port: replace wkin_cken with atomic bitmap operations

This simplifies the code and avoids holding a spin_lock when
runtime pm calls are made. Once the irq_safe flag is removed
for omap_ssi's runtime pm, pm_runtime_get/put_sync can sleep,
which is a no-go while holding a spin_lock.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
drivers/hsi/controllers/omap_ssi.h
drivers/hsi/controllers/omap_ssi_port.c
This page took 0.024459 seconds and 5 git commands to generate.