[svn-commits] sruffell: linux/trunk r9914 - /linux/trunk/drivers/dahdi/wcte12xp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 19 16:53:58 CDT 2011


Author: sruffell
Date: Thu May 19 16:53:54 2011
New Revision: 9914

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9914
Log:
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 at digium.com>

Modified:
    linux/trunk/drivers/dahdi/wcte12xp/base.c

Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9914&r1=9913&r2=9914
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Thu May 19 16:53:54 2011
@@ -399,9 +399,9 @@
 			if (!x) {
 				if (test_and_clear_bit(VPM150M_HPIRESET,
 						       &vpm->control)) {
-					eframe[CMD_BYTE(x, 0, 0)] = 0x0b;
+					eframe[CMD_BYTE(x, 0, 1)] = 0x0b;
 				} else {
-					eframe[CMD_BYTE(x, 0, 0)] = leds;
+					eframe[CMD_BYTE(x, 0, 1)] = leds;
 				}
 			} else {
 				eframe[CMD_BYTE(x, 0, 1)] = 0x00 | leds;




More information about the svn-commits mailing list