Commit 82f0fdcc authored by Federico Vaga's avatar Federico Vaga

kernel: disable input on remove

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 0e8cc1a8
...@@ -359,6 +359,9 @@ void fd_irq_exit(struct fd_dev *fd) ...@@ -359,6 +359,9 @@ void fd_irq_exit(struct fd_dev *fd)
{ {
struct fmc_device *fmc = fd->fmc; struct fmc_device *fmc = fd->fmc;
/* Stop input */
fd_writel(fd, 0, FD_REG_GCR);
if (fd_timer_period_ms) { if (fd_timer_period_ms) {
del_timer_sync(&fd->fifo_timer); del_timer_sync(&fd->fifo_timer);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment