{"ref":"refs/heads/android-tegra-2.6.32-ics","commits":[{"author":{"name":"Ricardo Cerqueira","email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@cerqueira.org"},"sha":"9c13099c246845e69c1dbae3fb896e8831879dec","message":"star: Import some v20l patches","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/9c13099c246845e69c1dbae3fb896e8831879dec"},{"author":{"name":"Ricardo Cerqueira","email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@cerqueira.org"},"sha":"d6a69f71600a7c94df27e2662eba3d170d292e7a","message":"Revert \"star: Fix USB accessory mode\"\n\nThis reverts commit 6b641b90111c8ed0cf48b7c2ff7487ed25f33585.\n\nConflicts:\n\n\tarch/arm/configs/star_cyanogenmod_defconfig","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/d6a69f71600a7c94df27e2662eba3d170d292e7a"},{"author":{"name":"John Michelau","email":"b9edd606a2aef948ae25d93d255b0c1a8e307531@motorola.com"},"sha":"030fc971680625de5b948cfa074b397195e07266","message":"usb: gadget: Fixed Android gadget function discovery & product matching\n\n- Don't bind until all required functions have registered\n- Consider multi-instance functions when matching products\n\nChange-Id: I6fa10567db71d49cd81968c01d75e326ff9a17c8\nSigned-off-by: John Michelau <john.michelau@motorola.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/030fc971680625de5b948cfa074b397195e07266"},{"author":{"name":"John Michelau","email":"b9edd606a2aef948ae25d93d255b0c1a8e307531@motorola.com"},"sha":"2eaaac4da5cdc50519c6b0f978402ff7903ce0c4","message":"USB: gadget: android Fix gadget descriptor compliance for IAD's\n\nUSB-IF core team mandates that composite devices containing\nIAD's must use bDeviceClass=0xEF, bDeviceSubClass=0x02, &\nbDeviceProtocol=0x01 instead of the usual 0x00 in all fields.\nThis is not a problem currently on Linux hosts, but it is a\nproblem when connecting to Windows hosts. Without this change\nthe default Microsoft composite driver will not group\ninterfaces properly, which is what allows child function\ndrivers with IAD's to load correctly.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/2eaaac4da5cdc50519c6b0f978402ff7903ce0c4"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"e719d69cb90dbc912493016c88c8892a7c47c2b5","message":"USB: gadget: android: Support switching vendor ID when configuration changes\n\nBased on the list of enabled USB functions, we can now switch the vendor ID\nas well as the product ID.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/e719d69cb90dbc912493016c88c8892a7c47c2b5"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"444f248b35e8c77b876a8389a63d82d0307fc533","message":"USB: gadget: android: Fix problem switching vendor IDs\n\nWe need to update the vendor ID in the composite driver as well\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/444f248b35e8c77b876a8389a63d82d0307fc533"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"e1366cf03e9b8c7ae403631332398eec5d52ee80","message":"USB: gadget: f_accessory: New gadget driver for android USB accesories\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Misc improvements and cleanup:\n\n- Add URI string\n\n- Replace type string with a description string\n\n- Add a control call to retrieve accessory protocol version (currently 1)\n\n- Driver read() and write() calls now fail after USB disconnect until\n  driver file is closed and reopened.\n\n- Misc cleanup work\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Clear accessory strings when USB is disconnected\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL\n\nClearing strings on disconnect does not work since we may receive\na disconnect on some devices when transitioning into accessory mode.\nWe require an accessory to send ACCESSORY_GET_PROTOCOL before\nsending any strings, so any strings from a previous session will be cleared.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Clear disconnected flag when driver file is opened\n\nFixes a race condition that can occur when entering accessory mode.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Add string for accessory's unique serial number\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>\n\nUSB: gadget: f_accessory: Set bNumEndpoints to correct value of 2\n\nChange-Id: I24f4e36f196d45436e0573301500c3b93215953d\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/e1366cf03e9b8c7ae403631332398eec5d52ee80"},{"author":{"name":"Benoit Goby","email":"ecd1f14f7c1c6dc7a40210bdcc3810e0107ecbc8@android.com"},"sha":"c5270b832e4ea4ea8c66d32195437e87a1bc0b0f","message":"usb: gadget: android: Update android gadget driver\n\n* Functions and the device descriptor are configured from user space:\necho 0       > /sys/class/android_usb/android0/enable\necho adb,acm > /sys/class/android_usb/android0/functions\necho 2       > /sys/class/android_usb/android0/f_acm/instances\necho 1       > /sys/class/android_usb/android0/enable\n\n* Driver does not require platform data anymore\n\n* Moved function initialization to android.c instead of each\nfunction file\n\n* Replaced switches by uevents\n\nSigned-off-by: Benoit Goby <benoit@android.com>\nSigned-off-by: Mike Lockwood <lockwood@android.com>\nChange-Id: If5ad9267c111ad0a442f0d87a0d31082dc5381b6","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/c5270b832e4ea4ea8c66d32195437e87a1bc0b0f"},{"author":{"name":"Benoit Goby","email":"ecd1f14f7c1c6dc7a40210bdcc3810e0107ecbc8@android.com"},"sha":"65bdc07ab5d39e3da91b422416aa187a9db2a11b","message":"usb: gadget: composite: Add usb_remove_config\n\nThis allows composite drivers to dynamically change their configuration.\nFor example, a driver might remove a configuration and register a new\none with a different set of functions.\nUser should prevent the host from enumerating the device while changing\nthe configuration:\n\n\tusb_gadget_disconnect(cdev->gadget);\n\tusb_remove_config(cdev, old_config);\n\tusb_add_config(cdev, new_config, new_conf_bind);\n\tusb_gadget_connect(cdev->gadget);\n\nChange-Id: Icbfb4ce41685fde9bf63d5d58fca1ad242aa69f9\nSigned-off-by: Benoit Goby <benoit@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/65bdc07ab5d39e3da91b422416aa187a9db2a11b"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"7b6f219f8dbca4dbaf6ffced0aecb3ef473d7577","message":"USB: gadget: f_mtp: dequeue request on error in mtp_read\n\nIn mtp_read(), if wait_event_interruptible() returns an error, we need to\nremove the request from the EP queue.  Else, on the next call to mtp_read(), we\nwill attempt to enqueue the request again, potentially corrupting the\nqueue.  This is what happens with musb_gadget_queue(), which does not check for\nduplicate requests.\n\nBased on a similar change to f_adb.c\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/7b6f219f8dbca4dbaf6ffced0aecb3ef473d7577"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"084daee344ce0a5953a393fee31b14b276b2f59e","message":"USB: gadget: f_mtp: MTP driver cleanup:\n\nUse a work queue instead of a separate thread for file transfer ioctls\n(note: the file transfer must be done on a kernel thread rather than in\nprocess context so vfs_read and vfs_write will use the correct address space\nfor the buffers)\n\nEnforce requirement that only one ioctl call may be active at a time,\nand remove mutex in mtp_send_event that is now no longer necessary.\n\nSynchronize around use of shared variables to avoid SMP issues\n\nFix mismatched calls to fget and fput\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/084daee344ce0a5953a393fee31b14b276b2f59e"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"e6bcae8db8ae907bedf4142debc72315c14d322e","message":"USB: gadget: f_mtp: Return zero result for successful file transfer.\n\nReturning number of bytes transfered does not work for files > 2 gig\nsince ioctl() result is a signed integer.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/e6bcae8db8ae907bedf4142debc72315c14d322e"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"c09bc9245b584e1c6fc3b84a055150e64b99916f","message":"USB: gadget: f_mtp: Support for file transfer length greater than 4 gigabytes\n\nFor backward compatibility with PTP, MTP is limited to a 32-bit file size.\nWhen transferring files greater than 4 gig, MTP uses 0xFFFFFFFF as the file size\nand the receiver reads until it receives a short packet.\n\nExpanded size of mtp_file_range.length to 64 bits and added support for\nwriting zero length packets.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/c09bc9245b584e1c6fc3b84a055150e64b99916f"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"cf4168df3ccaf18435b760c73bf1e29a8e56f482","message":"USB: gadget: f_mtp: Zero length packet fixes\n\nSend zero length packets at end of transfers that are a multiple of the\nbulk max packet size as required by MTP.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/cf4168df3ccaf18435b760c73bf1e29a8e56f482"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"bd62d0938d7e84f780e663ca6d83790c8050b7a3","message":"USB: gadget: f_mtp: Make sure request is dequeued if transfer is canceled\n\nIf the host cancels a file transfer while we have a read request pending,\ncall usb_ep_dequeue to cancel the read.\nAlso return -ECANCELED from mtp_ioctl if we are canceled in MTP_RECEIVE_FILE\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/bd62d0938d7e84f780e663ca6d83790c8050b7a3"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"da1f321ca4784015cec7a2351d242ce835d8e8c6","message":"USB: gadget: f_mtp: Fix problems transferring files from device to host\n\nExit from send_file_work immediately when a cancel request is received.\n\nOnly busy status if there is a cancel pending that has not been repoorted to userspace.\nThis avoids a race condition that can occur when mtp_read resets the state\nto STATE_BUSY before we report status OK back to the host.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/da1f321ca4784015cec7a2351d242ce835d8e8c6"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"45a9a554a1f4240e6b5dff1bdffed6897894d97f","message":"USB: gadget: f_mtp: Don't block in mtp_send_event\n\nWe used to wait for the previous interrupt packet to complete before sending\nthe next packet.  But unfortunately the previous packet will not complete\nuntil USB is disconnected if the host is not listening on the interrupt\nendpoint (which is the case with libmtp on Linux and Mac).\nTo avoid hanging indefinitely in this case, we now simply return -EBUSY\nif the previous interrupt packet has not completed yet.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/45a9a554a1f4240e6b5dff1bdffed6897894d97f"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"44323ad6d745b1eaa71e58d5ae60b7abd8b719f9","message":"USB: gadget: f_mtp: Add support for queueing multiple interrupt requests\n\nFixes problem sending \"store added\" events when there are multiple stores\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/44323ad6d745b1eaa71e58d5ae60b7abd8b719f9"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"f2d985cee30b5dffc8ea8d2602dc4ba5f88dd9d6","message":"USB: gadget: f_mtp: Add PTP variant of MTP USB function\n\nThis is the same as MTP but with PTP interface descriptor.\nAlso removed obsolete ioctl for switching between MTP and PTP mode\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/f2d985cee30b5dffc8ea8d2602dc4ba5f88dd9d6"},{"author":{"name":"Mike Lockwood","email":"368d0007e4626f70737d16df5e49ed8806b98c3f@android.com"},"sha":"839723b5a1e88326cd01ab5b9b9f1deb2805a2a0","message":"USB: gadget: f_mtp: Add support for sending MTP header during file transfer\n\nMTP_SEND_FILE_WITH_HEADER ioctl allows sending a file with the 12 byte header\nprepended at the beginning.\nThis is to allow MTP to use a single packet for the data phase instead of two.\n\nSigned-off-by: Mike Lockwood <lockwood@android.com>","url":"https://api.github.com/repos/CyanogenMod/lge-kernel-star/commits/839723b5a1e88326cd01ab5b9b9f1deb2805a2a0"}],"head":"98e3817af9428db7cb43a67a36282306643d697d","push_id":51344910,"size":25}