projects
/
linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca858f7
)
vcsm: Allow both clean and invalidate to be requested
author
popcornmix
<popcornmix@gmail.com>
Mon, 4 Sep 2017 19:48:02 +0000
(20:48 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Mon, 4 Sep 2017 19:52:03 +0000
(20:52 +0100)
drivers/char/broadcom/vc_sm/vmcs_sm.c
patch
|
blob
|
history
diff --git
a/drivers/char/broadcom/vc_sm/vmcs_sm.c
b/drivers/char/broadcom/vc_sm/vmcs_sm.c
index 1dd5d227980a26c0b2f305435e71cb124f44c6dc..1fe8608f462ab4ea6b2449494b6352d0a0af889c 100644
(file)
--- a/
drivers/char/broadcom/vc_sm/vmcs_sm.c
+++ b/
drivers/char/broadcom/vc_sm/vmcs_sm.c
@@
-2861,7
+2861,8
@@
static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
v6_dma_clean_range((void *)base, (void *)end);
#endif
/* L1/L2 cache invalidate */
- } else if (op->invalidate_mode & 1) {
+ }
+ if (op->invalidate_mode & 1) {
#if defined(CONFIG_CPU_CACHE_V7)
extern void v7_dma_inv_range(void *start, void *end);
v7_dma_inv_range((void *)base, (void *)end);