tnt has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39153?usp=email )
Change subject: voicebus: Don't check BAR0 is an IO resource
......................................................................
voicebus: Don't check BAR0 is an IO resource
BAR0 isn't actually _used_ by anything, all commnication goes through
BAR1 which is MMIO.
So that check just prevents it to work on devices that don't support
IO transactions at all (like RPi5) but for no good reason.
Change-Id: I3c6fe1664e8dc3f158c64d16640b912fa5a4d12e
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/voicebus/voicebus.c
1 file changed, 0 insertions(+), 5 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
tnt: Looks good to me, approved; Verified
pespin: Looks good to me, but someone else must approve
diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c
index 8a1f7a6..eb110ea 100644
--- a/drivers/dahdi/voicebus/voicebus.c
+++ b/drivers/dahdi/voicebus/voicebus.c
@@ -1794,11 +1794,6 @@
goto cleanup;
}
- if (0 == (pci_resource_flags(vb->pdev, 0)&IORESOURCE_IO)) {
- dev_err(&vb->pdev->dev, "BAR0 is not IO Memory.\n");
- retval = -EIO;
- goto cleanup;
- }
vb->iobase = pci_iomap(vb->pdev, 1, 0);
if (request_mem_region(pci_resource_start(vb->pdev, 1),
pci_resource_len(vb->pdev, 1),
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39153?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I3c6fe1664e8dc3f158c64d16640b912fa5a4d12e
Gerrit-Change-Number: 39153
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
tnt has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
dahdi-base: Allow reselection of the same clock master
__dahdi_find_master_span is called from a bunch of different places,
like when a span comes on-line, this is to potentially select a new
master.
However the way it's written now, when it's called, it will ALWAYS
tried to find a DIFFERENT master than what is selected now if there
is another available, no matter is the current one is earlier in the
list.
Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/dahdi-base.c
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
tnt: Looks good to me, approved; Verified
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index ef29c4b..43948bd 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -3995,8 +3995,6 @@
continue;
if (!can_provide_timing(s))
continue;
- if (master_span == s)
- continue;
master_span = s;
break;
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
tnt has posted comments on this change by tnt. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Tue, 17 Dec 2024 11:36:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
tnt has posted comments on this change by tnt. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Patch Set 1: Verified+1
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Tue, 17 Dec 2024 11:36:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: tnt.
tnt has removed a vote from this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Removed Verified-1 by Jenkins Builder (1000002)
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: deleteVote
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: tnt <tnt(a)246tNt.com>