wcb4xxp: Remove "card sync source" logic
This logic was reading and printing the bri chips automatic selection of sync source. We always use manual sync selection in the driver so this doesn't need to exist. Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
This commit is contained in:
@@ -1645,7 +1645,7 @@ static void hfc_handle_state(struct b4xxp_span *s)
|
||||
{
|
||||
struct b4xxp *b4;
|
||||
unsigned char state, sta;
|
||||
int nt, newsync, oldalarm;
|
||||
int nt, oldalarm;
|
||||
unsigned long oldtimer;
|
||||
|
||||
b4 = s->parent;
|
||||
@@ -1734,17 +1734,6 @@ static void hfc_handle_state(struct b4xxp_span *s)
|
||||
hfc_start_st(s);
|
||||
}
|
||||
}
|
||||
|
||||
/* read in R_BERT_STA to determine where our current sync source is */
|
||||
newsync = b4xxp_getreg8(b4, R_BERT_STA) & 0x07;
|
||||
if (newsync != b4->syncspan) {
|
||||
if (printk_ratelimit() || DBG) {
|
||||
dev_info(&b4->pdev->dev,
|
||||
"new card sync source: port %d\n",
|
||||
newsync + 1);
|
||||
}
|
||||
b4->syncspan = newsync;
|
||||
}
|
||||
}
|
||||
|
||||
static void hfc_stop_all_timers(struct b4xxp_span *s)
|
||||
|
||||
Reference in New Issue
Block a user