]> git.baikalelectronics.ru Git - kernel.git/commit
caif-hsi: Postpone init of HSI until open()
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Thu, 12 Apr 2012 08:27:27 +0000 (08:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:37:37 +0000 (11:37 -0400)
commitd31c38e1e4c640c43afb9cc7ecc85fee2904bb38
treeea6312f6fcd60550360a362c33185917f3141127
parent7a65da3e40205b7aa441a42691c248c0140ba0c8
caif-hsi: Postpone init of HSI until open()

Do the initialization of the HSI interface when the
interface is opened, instead of upon registration.
When the interface is closed the HSI interface is
de-initialized, allowing other modules to use the
HSI interface.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c