Commits on Mar 21, 2012
  1. ft5x06: Updated ts drivers

    keyodi committed Mar 19, 2012
        -updated drivers from nook tablet
        -Added MT_ABS_PRESSURE
Commits on Mar 19, 2012
  1. cyttsp: Updated ts drivers

    keyodi committed Mar 19, 2012
    -updated to drivers included in the nook tablet
Commits on Feb 24, 2012
  1. Merge pull request #1 from chertykov/ics-fattire

    fat-tire committed Feb 24, 2012
    Fix for sound gain Sysfs functions
  2. * sound/soc/codecs/tlv320dac3100.c (dac_level_show): Fix declaration.

    chertykov committed Feb 24, 2012
    (hp_analog_gain_show): Likewise.
    (spkr_analog_gain_show): Likewise.
    (dac_level_store): Add missing function argument - count. Return count of stored bytes.
    (hp_analog_gain_store): Likewise.
    (spkr_analog_gain_store): Likewise.
Commits on Feb 9, 2012
  1. Wakelock.c fix -- the consensus was this made things less sleep-of-de…

    fattire committed Feb 9, 2012
    …athy, I think.
    If not, we can revert.  Thanks to dalingrin for proposing this (in an old thread).
Commits on Feb 1, 2012
  1. update to TI Android SGX 1.8 SDK (from Rowboat)

    fattire committed Feb 1, 2012
    This commit provides TI'ss Android SGX SDK for OpenGL / 3D Graphics acceleration
    Thanks to Keyodi for getting it working w/our kernel...
Commits on Jan 18, 2012
  1. fantastic touchscreen fix for multiple touches-- makes games better. …

    fattire committed Jan 18, 2012
    …This is all keyodi!
    Thanks for the awesomeness, keyodi!
Commits on Jan 17, 2012
  1. ICS fixes for ts in new NCs (ft5x06).

    fattire committed Jan 17, 2012
Commits on Dec 20, 2011
  1. Fix rotation so that ro.sf.hwrotation=270 isn't needed in build.prop.

    fattire committed Dec 20, 2011
    Thanks to deeper-blue, nemith, and keyodi.
Commits on Dec 11, 2011
  1. changes for usb gadget

    fattire committed Dec 11, 2011
    thx to arcee...
Commits on Dec 10, 2011
  1. usb: gadget: Add missing files

    rmcc authored and fattire committed Nov 27, 2011
  2. usb: gadget: Fix 2.6.32 compatibility issues with new stack

    rmcc authored and fattire committed Nov 24, 2011
  3. lib: introduce common method to convert hex digits

    Andy Shevchenko fattire
    Andy Shevchenko authored and fattire committed May 24, 2010
    hex_to_bin() is a little method which converts hex digit to its actual
    value.  There are plenty of places where such functionality is needed.
    [ use tolower(), saving 3 bytes, test the more common case first - it's quicker]
    [ relocate tolower to make it even faster! (Joe)]
    Signed-off-by: Andy Shevchenko <>
    Cc: Tilman Schmidt <>
    Cc: Duncan Sands <>
    Cc: Eric W. Biederman <>
    Cc: Greg Kroah-Hartman <>
    Cc: "Richard Russon (FlatCap)" <>
    Cc: John W. Linville <>
    Cc: Len Brown <>
    Cc: Joe Perches <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
  4. usb: gadget: composite: Allow function drivers to defer setup responses

    Roger Quadros fattire
    Roger Quadros authored and fattire committed Apr 21, 2011
    Some USB function drivers (e.g. f_mass_storage.c) need to delay or defer the
    status phase of standard control requests like SET_CONFIGURATION or
    SET_INTERFACE till they are done with their bookkeeping and are actually ready
    for accepting new commands to their interface.
    They can now achieve this functionality by returning USB_GADGET_DELAYED_STATUS
    in their setup handlers (e.g. set_alt()). The composite framework will then
    defer completion of the setup transfer by not sending the Data/Status response.
    This ensures that the host does not send new packets to the interface till the
    function driver is ready to take them.
    When the function driver that requested for USB_GADGET_DELAYED_STATUS is done
    with its bookkeeping, it should signal the composite framework to continue with
    the Data/Status phase of the setup transfer. It can do so by invoking
    the new API usb_composite_setup_continue(). This is where the setup transfer's
    data/status phases are completed and host can send new transfers.
    The DELAYED_STATUS mechanism is currently only supported if the expected data phase
    is 0 bytes (i.e. w_length == 0). Since SET_CONFIGURATION and SET_INTERFACE are the
    only cases that will use this mechanism, this is not a limitation as such.
    Change-Id: Ia5aeac1b3e9646933d4875832de7380504651e7d
    Signed-off-by: Roger Quadros <>
    Signed-off-by: Moiz Sonasath <>
  5. f_mtp: Fixup mergefail

    rmcc authored and fattire committed Nov 18, 2011
  6. USB: gadget: f_mtp: Move all setup handling to mtp_ctrlrequest

    mikeandroid authored and fattire committed Jul 21, 2011
    The composite driver no longer sends setup requests to functions if the
    destination is USB_RECIP_DEVICE, so we need to handle the requests
    here instead of the function's setup callback.
    Signed-off-by: Mike Lockwood <>
  7. USB: gadget: f_mtp: Add support for sending MTP header during file tr…

    mikeandroid authored and fattire committed Jul 14, 2011
    MTP_SEND_FILE_WITH_HEADER ioctl allows sending a file with the 12 byte header
    prepended at the beginning.
    This is to allow MTP to use a single packet for the data phase instead of two.
    Signed-off-by: Mike Lockwood <>
  8. USB: gadget: f_mtp: Add PTP variant of MTP USB function

    mikeandroid authored and fattire committed Jun 2, 2011
    This is the same as MTP but with PTP interface descriptor.
    Also removed obsolete ioctl for switching between MTP and PTP mode
    Signed-off-by: Mike Lockwood <>
  9. USB: gadget: f_mtp: Add support for queueing multiple interrupt requests

    mikeandroid authored and fattire committed May 2, 2011
    Fixes problem sending "store added" events when there are multiple stores
    Signed-off-by: Mike Lockwood <>
  10. USB: gadget: f_mtp: Don't block in mtp_send_event

    mikeandroid authored and fattire committed Feb 10, 2011
    We used to wait for the previous interrupt packet to complete before sending
    the next packet.  But unfortunately the previous packet will not complete
    until USB is disconnected if the host is not listening on the interrupt
    endpoint (which is the case with libmtp on Linux and Mac).
    To avoid hanging indefinitely in this case, we now simply return -EBUSY
    if the previous interrupt packet has not completed yet.
    Signed-off-by: Mike Lockwood <>
  11. USB: gadget: f_mtp: Fix problems transferring files from device to host

    mikeandroid authored and fattire committed Feb 7, 2011
    Exit from send_file_work immediately when a cancel request is received.
    Only busy status if there is a cancel pending that has not been repoorted to userspace.
    This avoids a race condition that can occur when mtp_read resets the state
    to STATE_BUSY before we report status OK back to the host.
    Signed-off-by: Mike Lockwood <>
  12. USB: gadget: f_mtp: Make sure request is dequeued if transfer is canc…

    mikeandroid authored and fattire committed Jan 13, 2011
    If the host cancels a file transfer while we have a read request pending,
    call usb_ep_dequeue to cancel the read.
    Also return -ECANCELED from mtp_ioctl if we are canceled in MTP_RECEIVE_FILE
    Signed-off-by: Mike Lockwood <>
  13. USB: gadget: f_mtp: Zero length packet fixes

    mikeandroid authored and fattire committed Nov 17, 2010
    Send zero length packets at end of transfers that are a multiple of the
    bulk max packet size as required by MTP.
    Signed-off-by: Mike Lockwood <>
  14. USB: gadget: f_mtp: Support for file transfer length greater than 4 g…

    mikeandroid authored and fattire committed Nov 16, 2010
    For backward compatibility with PTP, MTP is limited to a 32-bit file size.
    When transferring files greater than 4 gig, MTP uses 0xFFFFFFFF as the file size
    and the receiver reads until it receives a short packet.
    Expanded size of mtp_file_range.length to 64 bits and added support for
    writing zero length packets.
    Signed-off-by: Mike Lockwood <>
  15. USB: gadget: f_mtp: Return zero result for successful file transfer.

    mikeandroid authored and fattire committed Nov 15, 2010
    Returning number of bytes transfered does not work for files > 2 gig
    since ioctl() result is a signed integer.
    Signed-off-by: Mike Lockwood <>
  16. USB: gadget: f_mtp: MTP driver cleanup:

    mikeandroid authored and fattire committed Nov 8, 2010
    Use a work queue instead of a separate thread for file transfer ioctls
    (note: the file transfer must be done on a kernel thread rather than in
    process context so vfs_read and vfs_write will use the correct address space
    for the buffers)
    Enforce requirement that only one ioctl call may be active at a time,
    and remove mutex in mtp_send_event that is now no longer necessary.
    Synchronize around use of shared variables to avoid SMP issues
    Fix mismatched calls to fget and fput
    Signed-off-by: Mike Lockwood <>
  17. USB: gadget: f_mtp: dequeue request on error in mtp_read

    mikeandroid authored and fattire committed Feb 19, 2011
    In mtp_read(), if wait_event_interruptible() returns an error, we need to
    remove the request from the EP queue.  Else, on the next call to mtp_read(), we
    will attempt to enqueue the request again, potentially corrupting the
    queue.  This is what happens with musb_gadget_queue(), which does not check for
    duplicate requests.
    Based on a similar change to f_adb.c
    Signed-off-by: Mike Lockwood <>
  18. usb: gadget: android: Update android gadget driver

    benoitgoby authored and fattire committed Apr 20, 2011
    * Functions and the device descriptor are configured from user space:
    echo 0       > /sys/class/android_usb/android0/enable
    echo adb,acm > /sys/class/android_usb/android0/functions
    echo 2       > /sys/class/android_usb/android0/f_acm/instances
    echo 1       > /sys/class/android_usb/android0/enable
    * Driver does not require platform data anymore
    * Moved function initialization to android.c instead of each
    function file
    * Replaced switches by uevents
    Signed-off-by: Benoit Goby <>
    Signed-off-by: Mike Lockwood <>
    Change-Id: If5ad9267c111ad0a442f0d87a0d31082dc5381b6
  19. USB: gadget: f_accessory: New gadget driver for android USB accesories

    mikeandroid authored and fattire committed Feb 2, 2011
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Misc improvements and cleanup:
    - Add URI string
    - Replace type string with a description string
    - Add a control call to retrieve accessory protocol version (currently 1)
    - Driver read() and write() calls now fail after USB disconnect until
      driver file is closed and reopened.
    - Misc cleanup work
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Clear accessory strings when USB is disconnected
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL
    Clearing strings on disconnect does not work since we may receive
    a disconnect on some devices when transitioning into accessory mode.
    We require an accessory to send ACCESSORY_GET_PROTOCOL before
    sending any strings, so any strings from a previous session will be cleared.
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Clear disconnected flag when driver file is opened
    Fixes a race condition that can occur when entering accessory mode.
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Add string for accessory's unique serial number
    Signed-off-by: Mike Lockwood <>
    USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2
    Change-Id: I24f4e36f196d45436e0573301500c3b93215953d
    Signed-off-by: Mike Lockwood <>
  20. USB: gadget: android: Fix problem switching vendor IDs

    mikeandroid authored and fattire committed Feb 14, 2011
    We need to update the vendor ID in the composite driver as well
    Signed-off-by: Mike Lockwood <>
  21. USB: gadget: android: Support switching vendor ID when configuration …

    mikeandroid authored and fattire committed Feb 9, 2011
    Based on the list of enabled USB functions, we can now switch the vendor ID
    as well as the product ID.
    Signed-off-by: Mike Lockwood <>
  22. USB: gadget: android Fix gadget descriptor compliance for IAD's

    John Michelau fattire
    John Michelau authored and fattire committed Dec 10, 2010
    USB-IF core team mandates that composite devices containing
    IAD's must use bDeviceClass=0xEF, bDeviceSubClass=0x02, &
    bDeviceProtocol=0x01 instead of the usual 0x00 in all fields.
    This is not a problem currently on Linux hosts, but it is a
    problem when connecting to Windows hosts. Without this change
    the default Microsoft composite driver will not group
    interfaces properly, which is what allows child function
    drivers with IAD's to load correctly.
    Signed-off-by: Mike Lockwood <>
Commits on Dec 9, 2011
  1. make netfilter xt_quota2, et al changes work

    fattire committed Dec 9, 2011
    * xt_owner2 -- unused but good to have.. From epsylon3
    * missing headers added
    * xt_quota2 works now
    * defconfig:  omap3621_fattire-ics_defconfig (sorry for mixing "-" and "_" oh well)
    * other fixes.
    The point is we have real data usage info I think.
    thanks to epsylon3, dalingrin, pershoot, etc.
Commits on Dec 7, 2011
  1. netfilter: 2.6.32 compat fixes after recent updates

    rmcc authored and fattire committed Nov 24, 2011