xpp: Demote notices for HWEC create/free to debug

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10037 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Tzafrir Cohen 2011-07-12 18:08:42 +00:00
parent 80e9aa8098
commit 03ee387133

View File

@ -912,7 +912,7 @@ static void echocan_free(struct dahdi_chan *chan,
echoops = ECHOOPS(xbus); echoops = ECHOOPS(xbus);
if (!echoops) if (!echoops)
return; return;
LINE_NOTICE(xpd, pos, "%s: mode=0x%X\n", __func__, ec->status.mode); LINE_DBG(GENERAL, xpd, pos, "mode=0x%X\n", ec->status.mode);
CALL_EC_METHOD(ec_set, xbus, xpd, pos, 0); CALL_EC_METHOD(ec_set, xbus, xpd, pos, 0);
CALL_EC_METHOD(ec_update, xbus, xbus); CALL_EC_METHOD(ec_update, xbus, xbus);
} }
@ -986,8 +986,7 @@ int xpp_echocan_create(struct dahdi_chan *chan,
*ec = phonedev->ec[pos]; *ec = phonedev->ec[pos];
(*ec)->ops = &xpp_ec_ops; (*ec)->ops = &xpp_ec_ops;
(*ec)->features = xpp_ec_features; (*ec)->features = xpp_ec_features;
LINE_NOTICE(xpd, pos, "%s: (tap=%d, param_count=%d)\n", LINE_DBG(GENERAL, xpd, pos, "(tap=%d, param_count=%d)\n",
__func__,
ecp->tap_length, ecp->param_count); ecp->tap_length, ecp->param_count);
ret = CALL_EC_METHOD(ec_set, xbus, xpd, pos, 1); ret = CALL_EC_METHOD(ec_set, xbus, xpd, pos, 1);
CALL_EC_METHOD(ec_update, xbus, xbus); CALL_EC_METHOD(ec_update, xbus, xbus);