wcte12xp: Fix regression preventing VPMADT032 from loading.
Commit r9781, "wcte12xp, wctdm24xxp: Remove unused support for booting VPMADT032 from SPI", introduced a bug that would prevent the VPMADT032 from ever being able to complete its startup. This regression did not make it to any releases. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9914 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
9c1880d31a
commit
9146433e6d
@ -399,9 +399,9 @@ static void cmd_dequeue_vpmadt032(struct t1 *wc, unsigned char *eframe)
|
|||||||
if (!x) {
|
if (!x) {
|
||||||
if (test_and_clear_bit(VPM150M_HPIRESET,
|
if (test_and_clear_bit(VPM150M_HPIRESET,
|
||||||
&vpm->control)) {
|
&vpm->control)) {
|
||||||
eframe[CMD_BYTE(x, 0, 0)] = 0x0b;
|
eframe[CMD_BYTE(x, 0, 1)] = 0x0b;
|
||||||
} else {
|
} else {
|
||||||
eframe[CMD_BYTE(x, 0, 0)] = leds;
|
eframe[CMD_BYTE(x, 0, 1)] = leds;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
eframe[CMD_BYTE(x, 0, 1)] = 0x00 | leds;
|
eframe[CMD_BYTE(x, 0, 1)] = 0x00 | leds;
|
||||||
|
Loading…
Reference in New Issue
Block a user