From d8f22633a1b48a6c9e1f17b18e17119c47cf758b Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Thu, 4 Nov 2010 20:20:06 +0100 Subject: only call the port0_started callback if it's really the port0 that has been started --- tdm/xivo_tdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdm') diff --git a/tdm/xivo_tdm.c b/tdm/xivo_tdm.c index 067dcbf..683c05d 100644 --- a/tdm/xivo_tdm.c +++ b/tdm/xivo_tdm.c @@ -585,7 +585,7 @@ int xivo_tdm_start_chans( printk(KERN_INFO "%s: DONE\n", __func__); - if (xivo_tdm_callbacks.port0_started) + if (xtp->port_num == 0 && xivo_tdm_callbacks.port0_started) xivo_tdm_callbacks.port0_started( xivo_tdm_callbacks.port0_started_data); -- cgit v1.2.3