spi: tegra: create workqueue before register spi master
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 25 Jul 2012 08:22:03 +0000 (13:22 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Mon, 30 Jul 2012 15:43:31 +0000 (08:43 -0700)
commit9bde470e06fc9b2899c70a905a9ad0b3d7b1b218
treec4fcf524c8d46eb83d753770bedfd9507a8d2410
parenta8fccaec15ed648acd510f05534653fae6b4caa0
spi: tegra: create workqueue before register spi master

Create all resource require for spi transfer before registering
spi master as the spi communication is possible during the
registration.

bug 1023003

Change-Id: I1f77385866f358effeffb89c6af53a6a2f1c8738
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/118267
drivers/spi/spi-tegra.c