342945 Commits

Author SHA1 Message Date
ckkim
89b73666cb ODROID-COMMON:HDMI HPLL clk accuracy Improvements (800x600p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I46a743df83a05943b09a02ea5a7b5606ba404869
2022-02-28 16:53:10 +09:00
ckkim
05f8b3c5de ODROID-COMMON:HDMI HPLL clk accuracy Improvements (1024x768p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I73f8ff6a1c561887c8956f50cd5908f0d47c0c3b
2022-02-28 15:41:09 +09:00
ckkim
77f43ff5e7 ODROID-COMMON:HDMI HPLL clk accuracy Improvements (1440x900p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: If1fa18137c264e4936045d9e0b9e9c415464162c
2022-02-28 15:26:44 +09:00
ckkim
868cd56a97 ODROID-COMMON:HDMI HPLL clk accuracy Improvements (1280x800p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I906a330c0c590f7e39e7eaaae60418cf6f0aa656
2022-02-28 15:05:35 +09:00
ckkim
6bc17f7c93 ODROID-COMMON:HDMI HPLL clk accuracy Improvements (1680x1050p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I4ecfdebca4bbcf31b71c37eb9e10c029c86470d9
2022-02-28 14:31:32 +09:00
ckkim
746e63c981 ODROID-COMMON:HDMI HPLL clk accuracy Improvements (1920x1200p60hz)
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: Iba9220c8ac65acecbc786747100330a8126d0d59
2022-02-28 11:12:27 +09:00
ckkim
60fe335561 ODROID-COMMON:VU7C EDID modify.
Display Product name : HK_VU7C

Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: Ib3f7c6421b1694f35b9763480b1c3a866e305ff8
2022-02-16 14:31:03 +09:00
ckkim
68717677f1 ODROID-COMMON:touchscreen gpio interrupt for amlogic INTC
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I013b0640fd9d32f641170562829d05bb9336772b
2022-02-14 10:34:33 +09:00
ckkim
86321280a0 ODROID-COMMON:Add LT8619C HDMI to LVDS converter driver
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I82fee6b8bf8c308d7da0fa521333b6bc55d1c8f5
2022-02-14 10:34:33 +09:00
Mauro (mdrjr) Ribeiro
8edbeb3baa driver/net: usb: update r8152/53 driver 2021-12-28 16:27:32 -03:00
Mauro (mdrjr) Ribeiro
24e57ad8b9 Merge tag 'v4.9.277' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.277 stable release

Change-Id: If6b64078940d789b507791c7bbe010b5de2765cb
2021-07-30 21:09:08 -03:00
Mauro (mdrjr) Ribeiro
2deffb2231 Merge tag 'v4.9.276' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.276 stable release
2021-07-30 21:08:50 -03:00
Mauro (mdrjr) Ribeiro
8db21b4d97 Merge tag 'v4.9.275' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.275 stable release

Change-Id: I73557047482b3986a135aa1ad59a261971070c6c
2021-07-30 21:02:35 -03:00
Mauro (mdrjr) Ribeiro
d7dabe31af Merge tag 'v4.9.274' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
Linux 4.9.274
2021-07-30 21:02:29 -03:00
Mauro (mdrjr) Ribeiro
5bdadab9f1 Merge tag 'v4.9.273' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.273 stable release

Change-Id: I4c404d66b978c06106bd4ae293a155b83733756e
2021-07-30 20:56:39 -03:00
Mauro (mdrjr) Ribeiro
98fe388dc0 Merge tag 'v4.9.272' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.272 stable release

Change-Id: Icf7ac1d62107209b262bcf70d8c4af5c9690184e
2021-07-30 20:56:34 -03:00
Mauro (mdrjr) Ribeiro
fe479912b5 Merge tag 'v4.9.271' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.271 stable release

Change-Id: I3a31919a9500297b1d6adb076ef69b45f6b79201
2021-07-30 20:56:30 -03:00
Mauro (mdrjr) Ribeiro
f8c28fc6f5 Merge tag 'v4.9.270' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.270 stable release

Change-Id: Ifb539e7d42503d205e933a402156be8a86d3431a
2021-07-30 20:49:00 -03:00
Mauro (mdrjr) Ribeiro
049486e38b Merge tag 'v4.9.269' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.269 stable release

Change-Id: If6f90ebf565306169443fc56ac36f4bc150c524f
2021-07-30 20:48:51 -03:00
Mauro (mdrjr) Ribeiro
557f6bcaf7 Merge tag 'v4.9.268' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.268 stable release

Change-Id: I824171e1f5d580c39c6e95b60e28d7c59726674f
2021-07-30 20:48:45 -03:00
Mauro (mdrjr) Ribeiro
577983c0ab Merge tag 'v4.9.267' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.267 stable release

Change-Id: Iee6d9a8c35574205717f88cfc7f9c89260f53f39
2021-07-30 20:48:39 -03:00
Mauro (mdrjr) Ribeiro
812534fece Merge tag 'v4.9.266' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.266 stable release

Change-Id: Ibb1be5e61964790ae04650780327797f1adbedeb
2021-07-30 20:48:33 -03:00
Mauro (mdrjr) Ribeiro
76bc91d96a Merge tag 'v4.9.265' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.265 stable release

Change-Id: Ie748f79adf441d896fb2032cf63d699b06f3f908
2021-07-30 20:48:27 -03:00
Mauro (mdrjr) Ribeiro
12d9cf41e8 Merge tag 'v4.9.264' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.264 stable release
2021-07-30 20:48:10 -03:00
Mauro (mdrjr) Ribeiro
ac2f91d9fd Merge tag 'v4.9.263' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.263 stable release
2021-07-30 20:31:02 -03:00
Mauro (mdrjr) Ribeiro
c4c501bdf6 Merge tag 'v4.9.262' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.262 stable release

Change-Id: Ifca7966d2ade77cd086b21982ac929e997275b3b
2021-07-30 20:21:20 -03:00
Mauro (mdrjr) Ribeiro
2eca8fa4d2 Merge tag 'v4.9.261' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.261 stable release

Change-Id: I159a5fb0fbbd0c2995166da9a7fb4a1e23511176
2021-07-30 20:21:15 -03:00
Mauro (mdrjr) Ribeiro
2ebe3a648f Merge tag 'v4.9.260' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.260 stable release

Change-Id: I13f5c2f533953faf04b137c795b84827483c0eb9
2021-07-30 20:21:11 -03:00
Mauro (mdrjr) Ribeiro
e70ab405b5 Merge tag 'v4.9.259' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.259 stable release

Change-Id: I0e38c1c6a6ecee077351aa934cfbd114467379a7
2021-07-30 20:21:05 -03:00
Mauro (mdrjr) Ribeiro
82c8dea85f Merge tag 'v4.9.258' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.258 stable release

Change-Id: Ibf7f2a97a8bad31d60fa7727fa94e3f5535bfec3
2021-07-30 20:21:00 -03:00
Mauro (mdrjr) Ribeiro
2df34fc040 Merge tag 'v4.9.257' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.257 stable release

Change-Id: I63da4c7e1b8960dd2f6f980184386ff3284ee4b6
2021-07-30 20:20:54 -03:00
Mauro (mdrjr) Ribeiro
ef007200a2 Merge tag 'v4.9.255' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.255 stable release
2021-07-30 20:17:32 -03:00
Mauro (mdrjr) Ribeiro
1c38096ec6 Merge tag 'v4.9.254' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.254 stable release

Change-Id: I595b8604e6a9ad4554c8bce112929257aaa9d336
2021-07-30 20:16:52 -03:00
Mauro (mdrjr) Ribeiro
6e36302a00 Merge tag 'v4.9.253' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.253 stable release

Change-Id: I84b05bf79880122d96f89c02fd807479c00b28c1
2021-07-30 20:16:45 -03:00
Mauro (mdrjr) Ribeiro
79954f198d Merge tag 'v4.9.252' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.252 stable release
2021-07-30 20:16:25 -03:00
Mauro (mdrjr) Ribeiro
dbd2fa7678 Merge tag 'v4.9.251' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.251 stable release

Change-Id: I46d3e088d6b63324528986a8ff1d8e026fea5362
2021-07-30 20:15:10 -03:00
Mauro (mdrjr) Ribeiro
734c1c0c82 Merge tag 'v4.9.250' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.250 stable release

Change-Id: Ic3aa469c2dfa1a50b2f87602821d3a30c6bf4dd7
2021-07-30 20:15:05 -03:00
Mauro (mdrjr) Ribeiro
263a304624 Merge tag 'v4.9.249' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.249 stable release
2021-07-30 20:14:58 -03:00
Mauro (mdrjr) Ribeiro
03ab15286e Merge tag 'v4.9.248' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.248 stable release

Change-Id: I5a4a6fb20b838fbd36a7533b6801b7100c01ddef
2021-07-30 20:13:58 -03:00
Mauro (mdrjr) Ribeiro
a93f2ac12d Merge tag 'v4.9.247' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.247 stable release

Change-Id: I8f82b355f6010f618633fcf380ddf1f1f37d103c
2021-07-30 20:13:53 -03:00
Mauro (mdrjr) Ribeiro
7849e677f3 Merge tag 'v4.9.246' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.246 stable release

Change-Id: Ide3fa2b2b990f116df854524221f7d3c626cced7
2021-07-30 20:13:47 -03:00
Mauro (mdrjr) Ribeiro
659480ad9a Merge tag 'v4.9.245' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.245 stable release

Change-Id: I062cefa43773cceba23deea20dc60fc8f21254fa
2021-07-30 20:13:24 -03:00
Mauro (mdrjr) Ribeiro
feecaf2977 Merge tag 'v4.9.244' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.244 stable release

Change-Id: Iff639bbc271d106ad127304627bd4018fb4668b3
2021-07-30 20:13:18 -03:00
Mauro (mdrjr) Ribeiro
76871b1987 Merge tag 'v4.9.243' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.243 stable release

Change-Id: Ia49c0954835e98c4d50216d89e6f77cdf9a9b4ee
2021-07-30 20:13:11 -03:00
Mauro (mdrjr) Ribeiro
07f34f8121 Merge tag 'v4.9.242' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-4.9.y
This is the 4.9.242 stable release
2021-07-30 20:12:57 -03:00
Stephan Gerhold
d0526052a7 iio: accel: bma180: Fix BMA25x bandwidth register values
commit 8090d67421 upstream

According to the BMA253 datasheet [1] and BMA250 datasheet [2] the
bandwidth value for BMA25x should be set as 01xxx:

  "Settings 00xxx result in a bandwidth of 7.81 Hz; [...]
   It is recommended [...] to use the range from ´01000b´ to ´01111b´
   only in order to be compatible with future products."

However, at the moment the drivers sets bandwidth values from 0 to 6,
which is not recommended and always results into 7.81 Hz bandwidth
according to the datasheet.

Fix this by introducing a bw_offset = 8 = 01000b for BMA25x,
so the additional bit is always set for BMA25x.

[1]: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bma253-ds000.pdf
[2]: https://datasheet.octopart.com/BMA250-Bosch-datasheet-15540103.pdf

Cc: Peter Meerwald <pmeerw@pmeerw.net>
Fixes: 2017cff24c ("iio:bma180: Add BMA250 chip support")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210526094408.34298-2-stephan@gerhold.net
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
[sudip: adjust context]
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 09:14:29 +02:00
Linus Walleij
a2f9da293c iio: accel: bma180: Use explicit member assignment
commit 9436abc401 upstream

This uses the C99 explicit .member assignment for the
variant data in struct bma180_part_info. This makes it
easier to understand and add new variants.

Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 09:14:29 +02:00
Doug Berger
073a417dbf net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
commit 5a3c680aa2 upstream.

Setting the EXT_ENERGY_DET_MASK bit allows the port energy detection
logic of the internal PHY to prevent the system from sleeping. Some
internal PHYs will report that energy is detected when the network
interface is closed which can prevent the system from going to sleep
if WoL is enabled when the interface is brought down.

Since the driver does not support waking the system on this logic,
this commit clears the bit whenever the internal PHY is powered up
and the other logic for manipulating the bit is removed since it
serves no useful function.

Fixes: 1c1008c793 ("net: bcmgenet: add main driver file")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 09:14:29 +02:00
Gustavo A. R. Silva
c6ddeb63dd media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
commit 8d4abca95e upstream.

Fix an 11-year old bug in ngene_command_config_free_buf() while
addressing the following warnings caught with -Warray-bounds:

arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds]
arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds]

The problem is that the original code is trying to copy 6 bytes of
data into a one-byte size member _config_ of the wrong structue
FW_CONFIGURE_BUFFERS, in a single call to memcpy(). This causes a
legitimate compiler warning because memcpy() overruns the length
of &com.cmd.ConfigureBuffers.config. It seems that the right
structure is FW_CONFIGURE_FREE_BUFFERS, instead, because it contains
6 more members apart from the header _hdr_. Also, the name of
the function ngene_command_config_free_buf() suggests that the actual
intention is to ConfigureFreeBuffers, instead of ConfigureBuffers
(which takes place in the function ngene_command_config_buf(), above).

Fix this by enclosing those 6 members of struct FW_CONFIGURE_FREE_BUFFERS
into new struct config, and use &com.cmd.ConfigureFreeBuffers.config as
the destination address, instead of &com.cmd.ConfigureBuffers.config,
when calling memcpy().

This also helps with the ongoing efforts to globally enable
-Warray-bounds and get us closer to being able to tighten the
FORTIFY_SOURCE routines on memcpy().

Link: https://github.com/KSPP/linux/issues/109
Fixes: dae52d009f ("V4L/DVB: ngene: Initial check-in")
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/linux-hardening/20210420001631.GA45456@embeddedor/
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 09:14:29 +02:00
John Keeping
040b0ec6e1 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
commit d6a206e601 upstream.

Add the USB serial device ID for the CEL ZigBee EM3588 radio stick.

Signed-off-by: John Keeping <john@metanate.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 09:14:28 +02:00