1. 02 9月, 2014 4 次提交
  2. 30 8月, 2014 3 次提交
    • Y
      usb: gadget: use $(srctree) instead of $(PWD) for includes · fa31409a
      Yegor Yefremov 提交于
      Using $(PWD) breaks builds when make was invoked from outside
      of the kernel tree.
      Signed-off-by: NYegor Yefremov <yegorslists@googlemail.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      fa31409a
    • H
      usb: gadget: udc: use USB API functions rather than constants · b8adc3d1
      Himangi Saraogi 提交于
      This patch introduces the use of the functions usb_endpoint_type and
      usb_endpoint_num.
      
      The Coccinelle semantic patch that makes these changes is as follows:
      
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x0f\))
      + usb_endpoint_num(epd)
      
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\))
      + usb_endpoint_type(epd)
      Signed-off-by: NHimangi Saraogi <himangi774@gmail.com>
      Acked-by: NJulia Lawall <julia.lawall@lip6.fr>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      b8adc3d1
    • A
      usbtest: Add interrupt EP testcases · 457a0955
      Amit Virdi 提交于
      Two simple test cases for interrupt endpoints are added to the usbtest.c file.
      These are simple non-queued interrupt IN and interrupt OUT transfers. Currently,
      only gadget zero is capable of executing the interrupt EP test cases. However,
      extending the same to other gadgets is extremely simple and can be done
      on-demand.
      
      The two new tests added are
        - Test 25: To verify Interrupt OUT transfer
        - Test 26: To verify Interrupt IN transfer
      
      Since the default value of wMaxPacketSize is set as 1024, so interrupt
      IN transfers must be specified with the size parameter = multiple of
      1024. Otherwise the default value (512) in the usbtest application fails
      the transfer. See [RUN 4] for sample logs
      
      The application logs (usbtest) and corresponding kernel logs are as
      following:
      
      [Run 1]
      ./testusb -a -c 10 -s 2048 -t 26 -v 511
      usbtest 7-1:3.0: TEST 26: read 2048 bytes 10 times
      
      [Run 2]
      ./testusb -a -c 10 -s 1024 -t 25 -v 511
      usbtest 7-1:3.0: TEST 25: write 1024 bytes 10 times
      
      [Run 3]
      ./testusb -a -c 10 -s 1098 -t 25 -v 511
      usbtest 7-1:3.0: TEST 25: write 1098 bytes 10 times
      
      [Run 4 - Failure case scenario]
      ./testusb -a  -t 26
      unknown speed   /dev/bus/usb/007/004    0
      /dev/bus/usb/007/004 test 26 --> 75 (Value too large for defined data type)
      
      usbtest 7-1:3.0: TEST 26: read 512 bytes 1000 times
      usb 7-1: test26 failed, iterations left 999, status -75 (not 0)
      Signed-off-by: NAmit Virdi <amit.virdi@st.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      457a0955
  3. 28 8月, 2014 5 次提交
  4. 22 8月, 2014 1 次提交
  5. 21 8月, 2014 23 次提交
  6. 17 8月, 2014 1 次提交
  7. 16 8月, 2014 3 次提交
    • L
      Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86 · 605f884d
      Linus Torvalds 提交于
      Pull x86 platform driver updates from Matthew Garrett:
       "A moderate number of changes, but nothing awfully significant.
      
        A lot of const cleanups, some reworking and additions to the rfkill
        quirks in the asus driver, a new driver for generating falling laptop
        events on Toshibas and some misc fixes.
      
        Maybe vendors have stopped inventing things"
      
      * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (41 commits)
        platform/x86: Enable build support for toshiba_haps
        Documentation: Add file about toshiba_haps module
        platform/x86: Toshiba HDD Active Protection Sensor
        asus-nb-wmi: Add wapf4 quirk for the U32U
        alienware-wmi: make hdmi_mux enabled on case-by-case basis
        ideapad-laptop: Constify DMI table and other r/o variables
        asus-nb-wmi.c: Rename x401u quirk to wapf4
        compal-laptop: correct invalid hwmon name
        toshiba_acpi: Add Qosmio X75-A to the alt keymap dmi list
        toshiba_acpi: Add extra check to backlight code
        Fix log message about future removal of interface
        ideapad-laptop: Disable touchpad interface on Yoga models
        asus-nb-wmi: Add wapf4 quirk for the X550CC
        intel_ips: Make ips_mcp_limits variables static
        thinkpad_acpi: Mark volume_alsa_control_{vol,mute} as __initdata
        fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
        hp-wmi: Add missing __init annotations to initialization code
        hp_accel: Constify ACPI and DMI tables
        fujitsu-tablet: Mark DMI callbacks as __init code
        dell-laptop: Mark dell_quirks[] DMI table as __initconst
        ...
      605f884d
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux · 49899007
      Linus Torvalds 提交于
      Pull idle update from Len Brown:
       "Two Intel-platform-specific updates to intel_idle, and a cosmetic
        tweak to the turbostat utility"
      
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
        tools/power turbostat: tweak whitespace in output format
        intel_idle: Broadwell support
        intel_idle: Disable Baytrail Core and Module C6 auto-demotion
      49899007
    • L
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 6fedb0ff
      Linus Torvalds 提交于
      Pull module fix from Rusty Russell:
       "Nasty potential bug if someone uses a known module param with an
        invalid value (we don't fail unknown module params any more, just
        warn)"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        module: Clean up ro/nx after early module load failures
      6fedb0ff