]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: chipidea: disable all interrupts and clear all interrupts status
authorPeter Chen <peter.chen@freescale.com>
Wed, 14 Aug 2013 09:44:09 +0000 (12:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 19:37:19 +0000 (12:37 -0700)
commitc344b518008ada3170349d1c06e8a30224400b29
tree2f1f2c865f8ca6bf43e61ffadb5f7a83cacc480e
parent577b232fc9caba1b6f7a3bb9901c00b10e0ca1ba
usb: chipidea: disable all interrupts and clear all interrupts status

During the initialization, it needs to disable all interrupts
enable bit as well as clear all interrupts status bits to avoid
exceptional interrupt.

Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c