1. 14 10月, 2013 2 次提交
    • M
      [media] siano: Fix initialization for Stellar models · 811a4f6d
      Mauro Carvalho Chehab 提交于
      Since kernel 3.8, the initialization for Stellar (sms1000)
      devices are broken.
      Those devices have a behaviour different than usual sms1100
      and sms2270: they start with one USB ID (devices in cold state),
      but after firmware load, they get a different USB ID.
      This weren't docummented at the driver. So, the patches that added
      support for sms2270 broke it.
      Properly documment it, and provide a debug log that allows to
      follow all phases of the device initialization:
      	smsusb_probe: board id=13, interface number 0
      	smsusb_probe: interface 0 won't be used. Expecting interface 1 to popup
      	smsusb_probe: board id=13, interface number 1
      	smsusb_probe: smsusb_probe 1
      	smsusb_probe: endpoint 0 81 02 64
      	smsusb_probe: endpoint 1 02 02 64
      	smsusb_probe: stellar device in cold state was found at usb\4-2.
      	smsusb1_load_firmware: sent 38144(38144) bytes, rc 0
      	smsusb1_load_firmware: read FW dvbt_bda_stellar_usb.inp, size=38144
      	smsusb_probe: stellar device now in warm state
      	usbcore: registered new interface driver smsusb
      	usb 4-2: USB disconnect, device number 52
      	usb 4-2: new full-speed USB device number 53 using uhci_hcd
      	usb 4-2: New USB device found, idVendor=187f, idProduct=0100
      	usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      	usb 4-2: Product: SMS DVBT-BDA Receiver
      	usb 4-2: Manufacturer: Siano Mobile Silicon
      	smsusb_probe: board id=1, interface number 0
      	smsusb_probe: smsusb_probe 0
      	smsusb_probe: endpoint 0 81 02 64
      	smsusb_probe: endpoint 1 02 02 64
      	smsusb_init_device: in_ep = 81, out_ep = 02
      	smscore_register_device: allocated 50 buffers
      	smscore_register_device: device ffff88012a00bc00 created
      	smsusb_init_device: smsusb_start_streaming(...).
      	smscore_set_device_mode: set device mode to 4
      	smsusb1_detectmode: 4 "SMS DVBT-BDA Receiver"
      	smsusb_sendrequest: sending MSG_SMS_INIT_DEVICE_REQ(578) size: 12
      	smsusb_onresponse: received MSG_SMS_INIT_DEVICE_RES(579) size: 12
      	smscore_set_device_mode: Success setting device mode.
      	smscore_init_ir: IR port has not been detected
      	smscore_start_device: device ffff88012a00bc00 started, rc 0
      	smsusb_init_device: device 0xffff88002cfa6000 created
      	smsusb_probe: Device initialized with return code 0
      	DVB: registering new adapter (Siano Stellar Digital Receiver)
      	usb 4-2: DVB: registering adapter 0 frontend 0 (Siano Mobile Digital MDTV Receiver)...
      	smscore_register_client: ffff88012174a000 693 1
      	sms_board_dvb3_event: DVB3_EVENT_HOTPLUG
      	smsdvb_hotplug: success
      	smsdvb_module_init:
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Tested-by: NAndré Roth <neolynx@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      811a4f6d
    • M
      [media] siano: Improve debug/info messages · f43b396c
      Mauro Carvalho Chehab 提交于
      Some messages are not clear, some are debug data, but are
      shown as errors, and one message is duplicated.
      Cleanup that mess in order to provide a cleaner log.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Tested-by: NAndré Roth <neolynx@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      f43b396c
  2. 21 3月, 2013 8 次提交
  3. 04 1月, 2013 1 次提交
    • G
      Drivers: media: remove __dev* attributes. · 4c62e976
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c62e976
  4. 07 11月, 2012 1 次提交
    • M
      [media] siano: fix RC compilation · 2c4e11b7
      Mauro Carvalho Chehab 提交于
      As reported by Antti and by Stephen:
      drivers/built-in.o: In function `sms_ir_event':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:48: undefined reference to `ir_raw_event_store'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:50: undefined reference to `ir_raw_event_handle'
      drivers/built-in.o: In function `sms_ir_init':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:56: undefined reference to `smscore_get_board_id'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:60: undefined reference to `rc_allocate_device'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:72: undefined reference to `sms_get_board'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:92: undefined reference to `sms_get_board'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:97: undefined reference to `rc_register_device'
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:100: undefined reference to `rc_free_device'
      drivers/built-in.o: In function `sms_ir_exit':
      /home/david/checkouts/linux/drivers/media/common/siano/smsir.c:111: undefined reference to `rc_unregister_device'
      make: *** [vmlinux] Error 1
      
      Caused by commit fdd1eeb4 "[media] siano: allow compiling it without RC support"
      And it happens when CONFIG_SMS_SIANO_RC=y and CONFIG_RC_CORE=m .
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Reported-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2c4e11b7
  5. 18 10月, 2012 1 次提交
  6. 14 8月, 2012 2 次提交