HACK: block fbearlysuspend to not break androids crt-off animation
commit 50fa851921f55411d5bb439a990fdef349ef1b05 1 parent e6328e033e
codeworkx authored 3 days ago pershoot committed 13 hours ago
mdnie: some more mDNIe tweaks from hardcore...
commit 947371b09b3d6bd274510e1e36a008e80e3b575c 1 parent ad2f562c15
gokhanmoral authored 2 days ago
fix adb root

When adb is enabled, only connect the gadget when adbd is ready. If adbd
dies or is restarted (e.g. "adb root"), the gadget is disconnected when
the adb device is close, and it is re-connected once adb re-open the
device.

- Add callbacks to adb, similar to FunctionFs callbacks, to notify the
  gadget when the daemon is ready or closed.
- Refcount calls to android_enable/android_disable to enable the gadget
  only once all the function daemons are ready.
- Add enable/disble to android_usb_function to notify the function when
  it is added/removed from the list of enabled functions.

Signed-off-by: Benoit Goby <benoit@android.com>

Conflicts:

	drivers/usb/gadget/android.c

Conflicts:

	drivers/usb/gadget/android.c
net: wireless: bcmdhd: update wireless driver to 1.15.15

Conflicts:

	drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_linux.c
	drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_common.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_custom_sec.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sdio.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sec_feature.h
	drivers/net/wireless/bcmdhd/src/include/epivers.h
	drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.c
	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c
	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c

Conflicts:

	drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc_linux.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd.h
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_common.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_custom_sec.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sdio.c
	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sec_feature.h
	drivers/net/wireless/bcmdhd/src/include/epivers.h
	drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.c
	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c
usb: missing files for usb
wireless: update missing file in wireless
Revert "usb: missing files for usb"

This reverts commit 1c78734e7924b84ef3bb7f0448b8beb290ab1d43.
Revert "fix adb root"

This reverts commit 9526524fb0b59a793c3cc66c8c28e33e8dbe19c2.
mach-u1: Make SoC "need recal" check shut up

There's no reason for this to print something out EVERY DAMN TIME.

Change-Id: Ie3e1d59979c74d2019f180818e85bf3bb77cc356
posix_types.h: Cleanup stale __NFDBITS and related definitions

Recently, glibc made a change to suppress sign-conversion warnings in
FD_SET (glibc commit ceb9e56b3d1).  This uncovered an issue with the
kernel's definition of __NFDBITS if applications #include
<linux/types.h> after including <sys/select.h>.  A build failure would
be seen when passing the -Werror=sign-compare and -D_FORTIFY_SOURCE=2
flags to gcc.

It was suggested that the kernel should either match the glibc
definition of __NFDBITS or remove that entirely.  The current in-kernel
uses of __NFDBITS can be replaced with BITS_PER_LONG, and there are no
uses of the related __FDELT and __FDMASK defines.  Given that, we'll
continue the cleanup that was started with commit 8b3d1cda4f5f
("posix_types: Remove fd_set macros") and drop the remaining unused
macros.

Additionally, linux/time.h has similar macros defined that expand to
nothing so we'll remove those at the same time.

Reported-by: Jeff Law <law@redhat.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
CC: <stable@vger.kernel.org>
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
[ .. and fix up whitespace as per akpm ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Restored NEEDED defines after last commit :)
Net: wireless: bcmdhd: Fill station_info packet fields

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

commit 16a05085921fd1bcc5c7b27192b208d98ef499a8 1 parent 8ee5a8bc25
Dmitry Shmidt authored 2 days ago pershoot committed 10 hours ago
fix adb root

When adb is enabled, only connect the gadget when adbd is ready. If adbd
dies or is restarted (e.g. "adb root"), the gadget is disconnected when
the adb device is close, and it is re-connected once adb re-open the
device.

- Add callbacks to adb, similar to FunctionFs callbacks, to notify the
  gadget when the daemon is ready or closed.
- Refcount calls to android_enable/android_disable to enable the gadget
  only once all the function daemons are ready.
- Add enable/disble to android_usb_function to notify the function when
  it is added/removed from the list of enabled functions.

Signed-off-by: Benoit Goby <benoit@android.com>

Conflicts:

	drivers/usb/gadget/android.c

Conflicts:

	drivers/usb/gadget/android.c
bln: real bln [wip]
cypress: wip for bln
bln: like to work now