ata_piix: Add Device IDs for Intel Wellsburg PCH

commit 3aee8bc52c415aba8148f144e5e5359b0fd75dd1 upstream.

This patch adds the IDE-mode SATA Device IDs for the Intel Wellsburg PCH

Signed-off-by: James Ralston <james.d.ralston@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
usb hid quirks for Masterkit MA901 usb radio

commit 0322bd3980b3ebf7dde8474e22614cb443d6479a upstream.

Don't let Masterkit MA901 USB radio be handled by usb hid drivers.
This device will be handled by radio-ma901.c driver.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Linux 3.4.35
Merge branch 'p-linux-omap-3.4' into p-android-omap-3.4

* p-linux-omap-3.4:
  PM / AVS: SmartReflex: fix race on boot between SmartReflex and DVFS
  PM / AVS: SmartReflex: correct omap_dvfs_lock usage
  PM / AVS: SmartReflex: remove sr_late_init function
  MFD: TWL6040: Declare dummy inlines for undefined CONFIG_TWL6040_CORE builds
  ARM: OMAP3+: SmartReflex: do initialization at subsys_initcall time

Change-Id: I08544a0d42fd5a101be1a986135ab8750343a77f
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Merge tag 'v3.4.34' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into p-linux-omap-3.4

This is the 3.4.34 stable release

* tag 'v3.4.34' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (161 commits)
  Linux 3.4.34
  USB: usb-storage: unusual_devs update for Super TOP SATA bridge
  USB: storage: properly handle the endian issues of idProduct
  USB: ehci-omap: Fix autoloading of module
  USB: option: add Huawei "ACM" devices using protocol = vendor
  USB: option: add Yota / Megafon M100-1 4g modem
  USB: option: add and update Alcatel modems
  dca: check against empty dca_domains list before unregister provider
  vlan: adjust vlan_set_encap_proto() for its callers
  sock_diag: Fix out-of-bounds access to sock_diag_handlers[]
  ipv6: use a stronger hash for tcp
  ipv4: fix a bug in ping_err().
  net: fix a compile error when SOCK_REFCNT_DEBUG is enabled
  xen-netback: cancel the credit timer when taking the vif down
  xen-netback: correctly return errors from netbk_count_requests()
  net: fix infinite loop in __skb_recv_datagram()
  bridge: set priority of STP packets
  HID: wiimote: fix nunchuck button parser
  mmc: sdhci-esdhc-imx: fix host version read
  fb: Yet another band-aid for fixing lockdep mess
  ...

Change-Id: I595dc1bcf079725c0199b32293ce1b3cfa0383fa
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Merge branch 'p-linux-omap-3.4' into p-android-omap-3.4

* p-linux-omap-3.4: (161 commits)
  Linux 3.4.34
  USB: usb-storage: unusual_devs update for Super TOP SATA bridge
  USB: storage: properly handle the endian issues of idProduct
  USB: ehci-omap: Fix autoloading of module
  USB: option: add Huawei "ACM" devices using protocol = vendor
  USB: option: add Yota / Megafon M100-1 4g modem
  USB: option: add and update Alcatel modems
  dca: check against empty dca_domains list before unregister provider
  vlan: adjust vlan_set_encap_proto() for its callers
  sock_diag: Fix out-of-bounds access to sock_diag_handlers[]
  ipv6: use a stronger hash for tcp
  ipv4: fix a bug in ping_err().
  net: fix a compile error when SOCK_REFCNT_DEBUG is enabled
  xen-netback: cancel the credit timer when taking the vif down
  xen-netback: correctly return errors from netbk_count_requests()
  net: fix infinite loop in __skb_recv_datagram()
  bridge: set priority of STP packets
  HID: wiimote: fix nunchuck button parser
  mmc: sdhci-esdhc-imx: fix host version read
  fb: Yet another band-aid for fixing lockdep mess
  ...

Change-Id: I62d92ea9404130019fbda84f76934ead9212ce85
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Merge "OMAPDSS: DSSCOMP: enable alpha blending at suspend" into p-android-omap-3.4
ASoC: omap-abe-twl6040: set lower sample rates for McBSP1 (BT)

Reducing sample rates as WBS is no longer supported on latest Android BT stack.
Extend this change to OMAP5 platforms as well.

Change-Id: I81574bbea4c588d88a39c12d35d521f280cfd86c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
usb: gadget: composite: Fix corruption when changing configuration

Remove the config from the configs list before releasing the spinlock.
Otherwise the other cpu might be processing a SET_CONFIGURATION that
will switch to the configuration that is being released.

Change-Id: Id4da0d0e18ead63e20cb236cd1d3e8e6d116acce
Signed-off-by: Benoit Goby <benoit@android.com>
usb: gadget: android: Fix product name

Product names may contain spaces and scanf %s only matches the 1st word.
Use strlcpy instead.

Change-Id: Ie8703fea9775f7fc17fe615a42597ca3816d36b0
Signed-off-by: Benoit Goby <benoit@android.com>
usb: gadget: android: Add FunctionFS

Add support for FunctionFS (ffs) to implement usb functions in userspace.

The aliases property stores the list of functions that are implemented
using functionfs.

For example:
echo "adb,mtp" > /sys/class/android_usb/android0/f_ffs/aliases

Then when the function are enabled:
echo "adb,acm" > /sys/class/android_usb/android0/functions
Internally, ffs and acm will be used.

Change-Id: I44117b183d48a5a99ddbee3ef2cf8998be74598e
Signed-off-by: Benoit Goby <benoit@android.com>
usb: gadget: Fix usb string id allocation

Don't reset next_string_id every time the gadget is enabled, this makes
the next strings allocated overwrite strings allocated at probe time.
Instead, fix rndis not to allocate new string ids on every config bind.

Change-Id: Ied28ee416bb6f00c434c34176fe5b7f0dcb2b2d4
Signed-off-by: Benoit Goby <benoit@android.com>
USB: gadget: Add ACCESSORY_SET_AUDIO_MODE control request and ioctl

The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

Change-Id: I81c38611b588451e80eacdccc417ca6e11c60cab
Signed-off-by: Mike Lockwood <lockwood@google.com>
USB: gadget: f_accessory: Add support for HID input devices

Change-Id: I4f1452db32508382df52acdc47c0eb395ae328c7
Signed-off-by: Mike Lockwood <lockwood@google.com>
USB: gadget: f_audio_source: New gadget driver for audio output

This driver presents a standard USB audio class interface to the host
and an ALSA PCM device to userspace

Change-Id: If16b14a5ff27045f9cb2daaf1ae9195c5eeab7d0
Signed-off-by: Mike Lockwood <lockwood@google.com>
usb: gadget: f_fs: Fix enumeration in fullspeed mode

ffs_func_eps_enable always take the highspeed usb_endpoint_descriptor
if it is available. Choose the correct usb_endpoint_descriptor
depending on the gadget speed instead.

Change-Id: I5b8444cfdf1b6fe1eef25525fb7a0a0f617a353e
Signed-off-by: Benoit Goby <benoit@android.com>
usb: gadget: accessory: Fix section mismatch (again)

create_bulk_endpoints should not be __init since it is called when
accessory is enabled.

Change-Id: Iac6e9f29d53c93760e926efd8e7603432632acb4
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: OMAP: Add dynamic runtime check for omap features

This patch adds a generic macro to check if an IP is present
across family of omap processors

GC320 is such an IP which is present on some revisions of OMAP4
and OMAP5. So this generic runtime check will help loading
the driver only if the IP is availble on the silicon

Change-Id: I59e256a212787771f3c29fb4a1b764c7e959abe9
Signed-off-by: Sundar Raman <sunds@ti.com>
ARM: OMAP5: hwmod data: Configure BB2d address space flags correctly

Flags for BB2D address space should be set to ADDR_TYPE_RT inorder
to be fetched correctly via omap_hwmod_get_mpu_rt_va api.
This patch adds this flag to BB2D address space.

Change-Id: I9d86ad6623edd63e52a4ae91d0099d616f6c6e97
Signed-off-by: Sundar Raman <sunds@ti.com>
OMAP4/OMAP5: OMAP GCXX: Check for GC320 across OMAP versions

This patch removes the 4470 specific check and instead
uses the generic omap_has_gc320() check which works
for both omap4 and omap5

Change-Id: I4fef2efc5454f5b773fa4915a60d5710c513f0a8
Signed-off-by: Sundar Raman <sunds@ti.com>