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

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

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

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

    (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.
    chertykov committed Feb 24, 2012
Commits on Feb 9, 2012
  1. Wakelock.c fix -- the consensus was this made things less sleep-of-de…

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

    This commit provides TI'ss Android SGX SDK for OpenGL / 3D Graphics acceleration
    
    See:  http://gitorious.org/rowboat/hardware-ti-sgx/commits/ti_sgx_sdk-ddk_1.8
    
    Thanks to Keyodi for getting it working w/our kernel...
    fattire committed Feb 1, 2012
Commits on Jan 18, 2012
  1. fantastic touchscreen fix for multiple touches-- makes games better. …

    …This is all keyodi!
    
    Thanks for the awesomeness, keyodi!
    fattire committed Jan 18, 2012
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.

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

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

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

    Conflicts:
    
    	arch/arm/mach-tegra/board-generic.c
    rmcc committed with fattire Nov 24, 2011
  3. lib: introduce common method to convert hex digits

    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.
    
    [akpm@linux-foundation.org: use tolower(), saving 3 bytes, test the more common case first - it's quicker]
    [akpm@linux-foundation.org: relocate tolower to make it even faster! (Joe)]
    Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
    Cc: Tilman Schmidt <tilman@imap.cc>
    Cc: Duncan Sands <duncan.sands@free.fr>
    Cc: Eric W. Biederman <ebiederm@xmission.com>
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Cc: "Richard Russon (FlatCap)" <ldm@flatcap.org>
    Cc: John W. Linville <linville@tuxdriver.com>
    Cc: Len Brown <lenb@kernel.org>
    Cc: Joe Perches <joe@perches.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Andy Shevchenko committed with fattire May 24, 2010
  4. usb: gadget: composite: Allow function drivers to defer setup responses

    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 <roger.quadros@nokia.com>
    Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
    Roger Quadros committed with fattire Apr 21, 2011
  5. f_mtp: Fixup mergefail

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

    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 <lockwood@android.com>
    mikeandroid committed with fattire Jul 21, 2011
  7. USB: gadget: f_mtp: Add support for sending MTP header during file tr…

    …ansfer
    
    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 <lockwood@android.com>
    mikeandroid committed with fattire Jul 14, 2011
  8. USB: gadget: f_mtp: Add PTP variant of MTP USB function

    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 <lockwood@android.com>
    mikeandroid committed with fattire Jun 2, 2011
  9. USB: gadget: f_mtp: Add support for queueing multiple interrupt requests

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

    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 <lockwood@android.com>
    mikeandroid committed with fattire Feb 10, 2011
  11. USB: gadget: f_mtp: Fix problems transferring files from device to host

    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 <lockwood@android.com>
    mikeandroid committed with fattire Feb 7, 2011
  12. USB: gadget: f_mtp: Make sure request is dequeued if transfer is canc…

    …eled
    
    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 <lockwood@android.com>
    mikeandroid committed with fattire Jan 13, 2011
  13. USB: gadget: f_mtp: Zero length packet fixes

    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 <lockwood@android.com>
    mikeandroid committed with fattire Nov 17, 2010
  14. USB: gadget: f_mtp: Support for file transfer length greater than 4 g…

    …igabytes
    
    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 <lockwood@android.com>
    mikeandroid committed with fattire Nov 16, 2010
  15. USB: gadget: f_mtp: Return zero result for successful file transfer.

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

    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 <lockwood@android.com>
    mikeandroid committed with fattire Nov 8, 2010
  17. USB: gadget: f_mtp: dequeue request on error in mtp_read

    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 <lockwood@android.com>
    mikeandroid committed with fattire Feb 19, 2011
  18. usb: gadget: android: Update android gadget driver

    * 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 <benoit@android.com>
    Signed-off-by: Mike Lockwood <lockwood@android.com>
    Change-Id: If5ad9267c111ad0a442f0d87a0d31082dc5381b6
    
    Conflicts:
    
    	drivers/usb/gadget/Kconfig
    	drivers/usb/gadget/android.c
    	drivers/usb/gadget/composite.c
    	drivers/usb/gadget/f_adb.c
    	drivers/usb/gadget/f_mass_storage.c
    	drivers/usb/gadget/fsl_udc_core.c
    	include/linux/usb/composite.h
    benoitgoby committed with fattire Apr 20, 2011
  19. USB: gadget: f_accessory: New gadget driver for android USB accesories

    Signed-off-by: Mike Lockwood <lockwood@android.com>
    
    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 <lockwood@android.com>
    
    USB: gadget: f_accessory: Clear accessory strings when USB is disconnected
    
    Signed-off-by: Mike Lockwood <lockwood@android.com>
    
    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 <lockwood@android.com>
    
    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 <lockwood@android.com>
    
    USB: gadget: f_accessory: Add string for accessory's unique serial number
    
    Signed-off-by: Mike Lockwood <lockwood@android.com>
    
    USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2
    
    Change-Id: I24f4e36f196d45436e0573301500c3b93215953d
    Signed-off-by: Mike Lockwood <lockwood@android.com>
    mikeandroid committed with fattire Feb 2, 2011
  20. USB: gadget: android: Fix problem switching vendor IDs

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

    …changes
    
    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 <lockwood@android.com>
    mikeandroid committed with fattire Feb 9, 2011
  22. USB: gadget: android Fix gadget descriptor compliance for IAD's

    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 <lockwood@android.com>
    John Michelau committed with fattire Dec 10, 2010
Commits on Dec 9, 2011
  1. make netfilter xt_quota2, et al changes work

    * 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.
    fattire committed Dec 9, 2011
Commits on Dec 7, 2011
  1. netfilter: 2.6.32 compat fixes after recent updates

    Conflicts:
    
    	net/netfilter/xt_qtaguid.c
    rmcc committed with fattire Nov 24, 2011