commit | f25f0f8dcd99e954dc0acf2fcb556cbcd7394549 | [log] [tgz] |
---|---|---|
author | Ondrej Zary <linux@rainbow-software.org> | Mon Feb 25 18:45:46 2008 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Mar 05 06:27:50 2008 -0500 |
tree | 06a85e7c9d023dce8eed5a10ac3dd6ff2a401bf5 | |
parent | 8b7c1664405a1262bb78e80011ec10aa6b79df81 [diff] |
de2104x: remove BUG_ON() when changing media type When the chip dies (probably because of a bug somewhere in the driver), de_stop_rxtx() fails and changing the media type crashes the whole machine. Replace BUG_ON() in de_set_media() with a warning. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>