diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-12-14 17:02:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 17:15:53 +0300 |
commit | 96e31ecc62435635b6fa46ecc557e0795104e8d8 (patch) | |
tree | 5a711cc2af3eb2f28aa58eb12b6c82ef9287e3ab /drivers/staging/ccree/ssi_driver.c | |
parent | b3ec9a6736f2d615a6b189df340e966262141619 (diff) | |
download | linux-96e31ecc62435635b6fa46ecc557e0795104e8d8.tar.xz |
staging: ccree: remove CC_IRQ_DELAY dead code
Remove dead code from older version which is not supported in current
hardware.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_driver.c')
-rw-r--r-- | drivers/staging/ccree/ssi_driver.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index 14705dcfa35f..61587946aebf 100644 --- a/drivers/staging/ccree/ssi_driver.c +++ b/drivers/staging/ccree/ssi_driver.c @@ -171,17 +171,6 @@ int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe) CC_GPR0_IRQ_MASK)); cc_iowrite(drvdata, CC_REG(HOST_IMR), val); -#ifdef CC_HOST_IRQ_TIMER_INIT_VAL_REG_OFFSET -#ifdef CC_IRQ_DELAY - /* Set CC IRQ delay */ - cc_iowrite(drvdata, CC_REG(HOST_IRQ_TIMER_INIT_VAL), CC_IRQ_DELAY); -#endif - if (cc_ioread(drvdata, CC_REG(HOST_IRQ_TIMER_INIT_VAL)) > 0) { - dev_dbg(dev, "irq_delay=%d CC cycles\n", - cc_ioread(drvdata, CC_REG(HOST_IRQ_TIMER_INIT_VAL))); - } -#endif - cache_params = (drvdata->coherent ? CC_COHERENT_CACHE_PARAMS : 0x0); val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS)); |