Author: janderwald
Date: Fri Jun 26 18:17:12 2009
New Revision: 41623
URL:
http://svn.reactos.org/svn/reactos?rev=41623&view=rev
Log:
- Callback routine expects fdo
- Fix boot
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c [iso-8859-1] Fri Jun 26
18:17:12 2009
@@ -158,9 +158,9 @@
/* initialize timer list */
InitializeListHead(&portcls_ext->TimerList);
/* initialize io timer */
- IoInitializeTimer(PhysicalDeviceObject, PcIoTimerRoutine, NULL);
+ IoInitializeTimer(fdo, PcIoTimerRoutine, NULL);
/* start the io timer */
- IoStartTimer(PhysicalDeviceObject);
+ IoStartTimer(fdo);
/* set io flags */
fdo->Flags |= DO_DIRECT_IO | DO_POWER_PAGABLE;