On Tue, Oct 20, 2009 at 07:29,  <[email protected]> wrote:
> Revision 7683 Author hennerich Date 2009-10-20 08:29:01 -0400 (Tue, 20 Oct
> 2009)
>
> Log Message
>
> [#5630] ethernet driver smc91x fail to wake up by uart in bf533-stamp
> On the BF533-STAMP board there is some external logic that switches the
> Asynchronous Memory Bank 3 between Flash and SMSC91c111 Ethernet
> controller. This logic is controlled by GPIO_PF0 which is also the same
> PIN as SPI-SPISS Slave Mode Select. The SPI driver defaults the SPI
> Control register to Slave Mode - but doesn't enable the SPI. In case the
> SPI bus driver wasn't utilized and is then suspended and resumed during
> the PM state transitions - the SPI resume code enables the SPI - and
> this will case the SPI-SPISS = GPIO_PF0 being driven low. In return this
> causes the Flash being enabled and the smc91x Ethernet driver accesses
> Flash instead of the Ethernet controller.

shouldnt we also fix the bug that the SPI driver always enables itself
when resuming ?  cant we check like drv_data->workqueue to see if any
work is pending ?
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to