net/qede/base: add check for DMA engine state
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 7 Oct 2017 06:31:00 +0000 (23:31 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commitb21e05c9cf943d427007d026b199575d6a172acb
tree8474d6321635ee34124be79be034bbbd7f7ad5eb
parent81dba2b2ff61ae1b2f5b45d6a93ccd82bf0cbfdb
net/qede/base: add check for DMA engine state

Check DMA engine state to verify it is not called before it is
initialized

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_hw.c