CC := $(CROSS_COMPILE)gcc CFLAGS := -I../../usr/include PROGS := dslm all: $(PROGS) clean: rm -fr $(PROGS) t' src='/cgit.js'>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2016-04-30 17:11:54 +0200
committerSebastian Reichel <sre@kernel.org>2016-06-28 00:38:47 +0200
commit2083057aacecbd79ed73670763f07e6e7c1acd66 (patch)
tree92608f1337e83e95c3ae3c60145e24b253d2b57f
parentcb70e4c1bc96604953f5792f71ba9ba104705154 (diff)
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>
-rw-r--r--drivers/hsi/controllers/omap_ssi.h6
-rw-r--r--drivers/hsi/controllers/omap_ssi_port.c16
2 files changed, 7 insertions, 15 deletions
diff --git a/drivers/hsi/controllers/omap_ssi.h b/drivers/hsi/controllers/omap_ssi.h