]> 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)
commitcf06601d4d8bf5217c3c796ec64474093253eb44
treeea6312f6fcd60550360a362c33185917f3141127
parentb61328d3dd5560e71e7ba9c801cd4b213d6d30f1
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