wcb4xxp: minor: Squelch initializing message on shutdown
The hw init function gets called on a module remove in order to reset the hardware before shutdown. This was causing "Initializing zarlink echocan" to print on shutdown which could be confusing. Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
parent
2cba62718f
commit
92b645786d
@ -740,7 +740,8 @@ static void zl_init(struct b4xxp *b4)
|
||||
int i, offset;
|
||||
int group_addr[4] = {0x00, 0x40, 0x80, 0xc0};
|
||||
|
||||
dev_info(&b4->pdev->dev, "Initializing Zarlink echocan\n");
|
||||
if (!b4->shutdown)
|
||||
dev_info(&b4->pdev->dev, "Initializing Zarlink echocan\n");
|
||||
|
||||
/* There are 4 "groups" of echocans with two channels in each */
|
||||
/* Main group control reg 0-3 */
|
||||
|
Loading…
Reference in New Issue
Block a user