]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: disable all interrupts and clear all interrupts status
authorPeter Chen <peter.chen@freescale.com>
Mon, 12 Aug 2013 01:22:53 +0000 (09:22 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:49 +0000 (09:54 +0800)
commit3f8b286a9fdefb0637a04afd96281687e0a70052
tree75ee700e4911e610a21a10e942506857dc450353
parent5f314c9ad3c9eb1895c4c977329f2dd6c276820d
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>
drivers/usb/chipidea/core.c