summaryrefslogtreecommitdiffstats
path: root/drivers/slimbus/slimbus.h
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-10-16 10:57:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 14:59:28 +0100
commit943126417891372d56aa3fe46295cbf53db31370 (patch)
tree8f68fb70bd3ce12ed06073afd16769af64f43e9e /drivers/slimbus/slimbus.h
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadblackbird-op-linux-943126417891372d56aa3fe46295cbf53db31370.tar.gz
blackbird-op-linux-943126417891372d56aa3fe46295cbf53db31370.zip
slimbus: ngd: remove unnecessary check
SLIM_MSG_CLK_PAUSE_SEQ_FLG is never set in any of the slim core, so performing a check in ngd driver is totally unnecessary. Also this patch fixes warning about mc field overflow reported with CoverityScan. Making clk pause feature optional will be added to slim core in next development cycle. Reported-by: Colin Ian King <colin.king@canonical.com> Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus/slimbus.h')
-rw-r--r--drivers/slimbus/slimbus.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h
index 4399d1873e2d..9be41089edde 100644
--- a/drivers/slimbus/slimbus.h
+++ b/drivers/slimbus/slimbus.h
@@ -61,12 +61,6 @@
#define SLIM_MSG_MC_NEXT_REMOVE_CHANNEL 0x58
#define SLIM_MSG_MC_RECONFIGURE_NOW 0x5F
-/*
- * Clock pause flag to indicate that the reconfig message
- * corresponds to clock pause sequence
- */
-#define SLIM_MSG_CLK_PAUSE_SEQ_FLG (1U << 8)
-
/* Clock pause values per SLIMbus spec */
#define SLIM_CLK_FAST 0
#define SLIM_CLK_CONST_PHASE 1
OpenPOWER on IntegriCloud