diff --git a/sys/dev/usb/emdtv.c b/sys/dev/usb/emdtv.c index 7f01cc2c45aa..4272d9420ce9 100644 --- a/sys/dev/usb/emdtv.c +++ b/sys/dev/usb/emdtv.c @@ -1,4 +1,4 @@ -/* $NetBSD: emdtv.c,v 1.2 2011/07/13 14:36:29 jakllsch Exp $ */ +/* $NetBSD: emdtv.c,v 1.3 2011/07/15 10:48:30 jmcneill Exp $ */ /*- * Copyright (c) 2008, 2011 Jared D. McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: emdtv.c,v 1.2 2011/07/13 14:36:29 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: emdtv.c,v 1.3 2011/07/15 10:48:30 jmcneill Exp $"); #include #include @@ -164,9 +164,6 @@ emdtv_detach(device_t self, int flags) "couldn't stop stream: %s\n", usbd_errstr(status)); } - if (sc->sc_lg3303) - lg3303_close(sc->sc_lg3303); - emdtv_i2c_detach(sc, flags); return 0; diff --git a/sys/dev/usb/emdtv_dtv.c b/sys/dev/usb/emdtv_dtv.c index b5eb4fb6d670..b5802b0fce7b 100644 --- a/sys/dev/usb/emdtv_dtv.c +++ b/sys/dev/usb/emdtv_dtv.c @@ -1,4 +1,4 @@ -/* $NetBSD: emdtv_dtv.c,v 1.2 2011/07/13 14:34:45 jakllsch Exp $ */ +/* $NetBSD: emdtv_dtv.c,v 1.3 2011/07/15 10:48:30 jmcneill Exp $ */ /*- * Copyright (c) 2008, 2011 Jared D. McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: emdtv_dtv.c,v 1.2 2011/07/13 14:34:45 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: emdtv_dtv.c,v 1.3 2011/07/15 10:48:30 jmcneill Exp $"); #include #include @@ -201,7 +201,7 @@ emdtv_dtv_open(void *priv, int flags) case EMDTV_DEMOD_LG3303: if (sc->sc_lg3303 == NULL) { sc->sc_lg3303 = lg3303_open(sc->sc_dev, - &sc->sc_i2c, 0x1c); + &sc->sc_i2c, 0x1c, 0); } if (sc->sc_lg3303 == NULL) { aprint_error_dev(sc->sc_dev, "couldn't open lg3303\n");