summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-03-28 14:14:45 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-04-25 00:54:15 +0400
commitff06d611a31c4b687c7859e3c7516a38194d4d25 (patch)
treecf038b150ff64a900ea14396990c2afc11ec13f9 /block
parent31473c286cc09720c0238d085c9de2b890ddb965 (diff)
downloadlinux-ff06d611a31c4b687c7859e3c7516a38194d4d25.tar.xz
can: mcp251x: Improve mcp251x_hw_reset()
The MCP251x utilizes an oscillator startup timer (OST), which holds the chip in reset, to insure that the oscillator has stabilized before the internal state machine begins to operate. The OST maintains reset for the first 128 OSC clock cycles after power up or reset. So, this patch removes unnecessary loops and reduce delay for power on and reset to the safe value. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Tested-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions