kernel: bump 5.4 to 5.4.132
authorJohn Audia <graysky@archlinux.us>
Wed, 14 Jul 2021 22:20:29 +0000 (18:20 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Jul 2021 11:21:03 +0000 (13:21 +0200)
Manually rebased:
  layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
34 files changed:
include/kernel-version.mk
target/linux/ath25/patches-5.4/140-redboot_boardconfig.patch
target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
target/linux/ath25/patches-5.4/142-redboot_various_erase_size_fix.patch
target/linux/ath79/patches-5.4/0003-leds-add-reset-controller-based-driver.patch
target/linux/ath79/patches-5.4/408-mtd-redboot_partition_scan.patch
target/linux/ath79/patches-5.4/910-unaligned_access_hacks.patch
target/linux/bcm27xx/patches-5.4/950-0043-MMC-added-alternative-MMC-driver.patch
target/linux/bcm27xx/patches-5.4/950-0153-media-tc358743-fix-connected-active-CSI-2-lane-repor.patch
target/linux/bcm27xx/patches-5.4/950-0154-media-tc358743-Add-support-for-972Mbit-s-link-freq.patch
target/linux/bcm27xx/patches-5.4/950-0155-media-tc358743-Check-I2C-succeeded-during-probe.patch
target/linux/bcm27xx/patches-5.4/950-0293-xhci-Use-more-event-ring-segment-table-entries.patch
target/linux/bcm27xx/patches-5.4/950-0445-dma-mapping-treat-dev-bus_dma_mask-as-a-DMA-limit.patch
target/linux/bcm27xx/patches-5.4/950-0646-spi-Force-CS_HIGH-if-GPIO-descriptors-are-used.patch
target/linux/bcm27xx/patches-5.4/950-0690-SQUASH-spi-Demote-SPI_CS_HIGH-warning-to-KERN_DEBUG.patch
target/linux/bcm27xx/patches-5.4/950-0698-media-i2c-tc358743-Fix-fallthrough-warning.patch
target/linux/bcm27xx/patches-5.4/950-0960-staging-fbtft-Add-support-for-display-variants.patch
target/linux/bcm63xx/patches-5.4/400-bcm963xx_flashmap.patch
target/linux/generic/hack-5.4/221-module_exports.patch
target/linux/generic/hack-5.4/661-use_fq_codel_by_default.patch
target/linux/generic/pending-5.4/205-backtrace_module_info.patch
target/linux/generic/pending-5.4/419-mtd-redboot-add-of_match_table-with-DT-binding.patch
target/linux/generic/pending-5.4/420-mtd-redboot_space.patch
target/linux/layerscape/patches-5.4/303-core-0007-of-of_reserved_mem-Ensure-cma-reserved-region-not-cr.patch
target/linux/layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch
target/linux/layerscape/patches-5.4/805-display-0003-drm-bridge-add-Cadence-MHDP-HDMI-DP-API.patch
target/linux/layerscape/patches-5.4/805-display-0009-drm-rockchip-Fix-build-failed-issue.patch
target/linux/layerscape/patches-5.4/805-display-0012-drm-rockchip-change-base-address-name-from-regs-to-r.patch
target/linux/layerscape/patches-5.4/805-display-0018-drm-bridge-cdns-dp-Remove-link-rate-lanes-set-by-dev.patch
target/linux/layerscape/patches-5.4/820-usb-0011-usb-dwc3-Add-cache-type-configuration-support.patch
target/linux/layerscape/patches-5.4/820-usb-0024-LF-387-1-Revert-usb-dwc3-Add-cache-type-configuratio.patch
target/linux/layerscape/patches-5.4/820-usb-0025-LF-387-4-usb-dwc3-Add-cache-type-configuration-suppo.patch
target/linux/mediatek/patches-5.4/0900-bt-mtk-serial-fix.patch
target/linux/mediatek/patches-5.4/1021-ubnt-ledbar-driver.patch

index 9c1856a9fd69c7f1d60b9f9bc023327b947ff6ba..5de651b9c4827785124126058d36658542c33c58 100644 (file)
@@ -6,10 +6,10 @@ ifdef CONFIG_TESTING_KERNEL
   KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER)
 endif
 
-LINUX_VERSION-5.4 = .131
+LINUX_VERSION-5.4 = .132
 LINUX_VERSION-5.10 = .46
 
-LINUX_KERNEL_HASH-5.4.131 = 25e35a6ec1c0c72b971347dd8e403f4953e1a023cbcf96f9707ede5d45b399fe
+LINUX_KERNEL_HASH-5.4.132 = 8466adbfb3579e751ede683496df7bb20f258b5f882250f3dd82be63736d00ef
 LINUX_KERNEL_HASH-5.10.46 = 569122a39c6b325befb9ac1c07da0c53e6363b3baacd82081d131b06c1dc1415
 
 remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1))))
index 0ffa12eec0d09e2899137fec5b6466b06337e356..81b23e863ee3a2c51e5385b5a42731cb54540960 100644 (file)
@@ -9,7 +9,7 @@
  struct fis_image_desc {
      unsigned char name[16];      // Null terminated name
      uint32_t    flash_base;    // Address within FLASH of image
-@@ -67,6 +69,7 @@ static int parse_redboot_partitions(stru
+@@ -72,6 +74,7 @@ static int parse_redboot_partitions(stru
                                    const struct mtd_partition **pparts,
                                    struct mtd_part_parser_data *data)
  {
@@ -17,7 +17,7 @@
        int nrparts = 0;
        struct fis_image_desc *buf;
        struct mtd_partition *parts;
-@@ -234,14 +237,15 @@ static int parse_redboot_partitions(stru
+@@ -239,14 +242,15 @@ static int parse_redboot_partitions(stru
                }
        }
  #endif
@@ -35,7 +35,7 @@
  #ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED
        if (nulllen > 0) {
                strcpy(nullname, nullstring);
-@@ -260,6 +264,8 @@ static int parse_redboot_partitions(stru
+@@ -265,6 +269,8 @@ static int parse_redboot_partitions(stru
        }
  #endif
        for ( ; i<nrparts; i++) {
@@ -44,7 +44,7 @@
                parts[i].size = fl->img->size;
                parts[i].offset = fl->img->flash_base;
                parts[i].name = names;
-@@ -293,6 +299,13 @@ static int parse_redboot_partitions(stru
+@@ -298,6 +304,13 @@ static int parse_redboot_partitions(stru
                fl = fl->next;
                kfree(tmp_fl);
        }
index 3302d6d247c330871a3ad3effbc69e7ac1d2bdfa..343eedc0753e5db61f72eada76d3477ea9d26873 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -88,12 +88,18 @@ static int parse_redboot_partitions(stru
+@@ -93,12 +93,18 @@ static int parse_redboot_partitions(stru
  
        parse_redboot_of(master);
  
@@ -19,7 +19,7 @@
                                return -EIO;
                        }
                        offset -= master->erasesize;
-@@ -106,10 +112,6 @@ static int parse_redboot_partitions(stru
+@@ -111,10 +117,6 @@ static int parse_redboot_partitions(stru
                                goto nogood;
                }
        }
@@ -30,7 +30,7 @@
  
        printk(KERN_NOTICE "Searching for RedBoot partition table in %s at offset 0x%lx\n",
               master->name, offset);
-@@ -182,6 +184,11 @@ static int parse_redboot_partitions(stru
+@@ -187,6 +189,11 @@ static int parse_redboot_partitions(stru
        }
        if (i == numslots) {
                /* Didn't find it */
index 2ac0eb92bf15788950ce156c5f61b4e3b33db4e9..55cf84eeff8d9a2c7b0f533af5042ca3f38fbdee 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -65,6 +65,22 @@ static void parse_redboot_of(struct mtd_
+@@ -70,6 +70,22 @@ static void parse_redboot_of(struct mtd_
        directory = dirblock;
  }
  
@@ -23,7 +23,7 @@
  static int parse_redboot_partitions(struct mtd_info *master,
                                    const struct mtd_partition **pparts,
                                    struct mtd_part_parser_data *data)
-@@ -81,6 +97,7 @@ static int parse_redboot_partitions(stru
+@@ -86,6 +102,7 @@ static int parse_redboot_partitions(stru
        int namelen = 0;
        int nulllen = 0;
        int numslots;
@@ -31,7 +31,7 @@
        unsigned long offset;
  #ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED
        static char nullstring[] = "unallocated";
-@@ -195,7 +212,10 @@ static int parse_redboot_partitions(stru
+@@ -200,7 +217,10 @@ static int parse_redboot_partitions(stru
                goto out;
        }
  
@@ -43,7 +43,7 @@
                struct fis_list *new_fl, **prev;
  
                if (buf[i].name[0] == 0xff) {
-@@ -271,12 +291,13 @@ static int parse_redboot_partitions(stru
+@@ -276,12 +296,13 @@ static int parse_redboot_partitions(stru
        }
  #endif
        for ( ; i<nrparts; i++) {
@@ -59,7 +59,7 @@
                strcpy(names, fl->img->name);
  #ifdef CONFIG_MTD_REDBOOT_PARTS_READONLY
                if (!memcmp(names, "RedBoot", 8) ||
-@@ -306,7 +327,9 @@ static int parse_redboot_partitions(stru
+@@ -311,7 +332,9 @@ static int parse_redboot_partitions(stru
                fl = fl->next;
                kfree(tmp_fl);
        }
index 3249e1e82b5b3299a9d536e7d230069ddcec2015..32a122fabe6343853abe7a039c99a4c332352026 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
 
 --- a/drivers/leds/Kconfig
 +++ b/drivers/leds/Kconfig
-@@ -823,6 +823,17 @@ config LEDS_LM36274
+@@ -824,6 +824,17 @@ config LEDS_LM36274
          Say Y to enable the LM36274 LED driver for TI LMU devices.
          This supports the LED device LM36274.
  
index 8f3ee32f5776a392c62ec08a89eec222e7251563..e5b06e14a56837d04c7906b877e7db8e38a68ec4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -85,12 +85,18 @@ static int parse_redboot_partitions(stru
+@@ -90,12 +90,18 @@ static int parse_redboot_partitions(stru
  
        parse_redboot_of(master);
  
@@ -19,7 +19,7 @@
                                return -EIO;
                        }
                        offset -= master->erasesize;
-@@ -103,10 +109,6 @@ static int parse_redboot_partitions(stru
+@@ -108,10 +114,6 @@ static int parse_redboot_partitions(stru
                                goto nogood;
                }
        }
@@ -30,7 +30,7 @@
  
        printk(KERN_NOTICE "Searching for RedBoot partition table in %s at offset 0x%lx\n",
               master->name, offset);
-@@ -179,6 +181,11 @@ static int parse_redboot_partitions(stru
+@@ -184,6 +186,11 @@ static int parse_redboot_partitions(stru
        }
        if (i == numslots) {
                /* Didn't find it */
index 2440fbbb7373f3136eed87ff5278d20b2f522190..99520863d3e1e82e2539c5687a058979675eb0e5 100644 (file)
                case IPV6_2292HOPOPTS:
 --- a/net/ipv6/exthdrs.c
 +++ b/net/ipv6/exthdrs.c
-@@ -752,7 +752,7 @@ static bool ipv6_hop_jumbo(struct sk_buf
+@@ -751,7 +751,7 @@ static bool ipv6_hop_jumbo(struct sk_buf
                goto drop;
        }
  
index a9f99add60c4776fcca51029c21b7aee34a97a0b..f70887855b9e5cd0f2cc12f67f3e67eff451c4d4 100644 (file)
@@ -222,7 +222,7 @@ Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
  static inline int mmc_blk_part_switch(struct mmc_card *card,
                                      unsigned int part_type);
  
-@@ -2884,6 +2891,7 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2892,6 +2899,7 @@ static int mmc_blk_probe(struct mmc_card
  {
        struct mmc_blk_data *md, *part_md;
        char cap_str[10];
@@ -230,7 +230,7 @@ Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
  
        /*
         * Check that the card supports the command class(es) we need.
-@@ -2891,7 +2899,16 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2899,7 +2907,16 @@ static int mmc_blk_probe(struct mmc_card
        if (!(card->csd.cmdclass & CCC_BLOCK_READ))
                return -ENODEV;
  
@@ -248,7 +248,7 @@ Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
  
        card->complete_wq = alloc_workqueue("mmc_complete",
                                        WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
-@@ -2906,9 +2923,14 @@ static int mmc_blk_probe(struct mmc_card
+@@ -2914,9 +2931,14 @@ static int mmc_blk_probe(struct mmc_card
  
        string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2,
                        cap_str, sizeof(cap_str));
index 2357c878d7a2ace810c79a7a79a9b2385a64a3f6..ef2193f4de6712fd8107027746500dac57d9912b 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  
        switch (state->csi_lanes_in_use) {
        case 1:
-@@ -2054,6 +2063,7 @@ static int tc358743_probe(struct i2c_cli
+@@ -2055,6 +2064,7 @@ static int tc358743_probe(struct i2c_cli
        if (pdata) {
                state->pdata = *pdata;
                state->bus.flags = V4L2_MBUS_CSI2_CONTINUOUS_CLOCK;
index 18ee169b1c4ce9411eef4edee7145bc83fb486a3..7166232c400073085c58f50ed166ccd6ff40d2a1 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
         */
        bps_pr_lane = 2 * endpoint.link_frequencies[0];
        if (bps_pr_lane < 62500000U || bps_pr_lane > 1000000000U) {
-@@ -1990,23 +1991,41 @@ static int tc358743_probe_of(struct tc35
+@@ -1991,23 +1992,41 @@ static int tc358743_probe_of(struct tc35
                               state->pdata.refclk_hz * state->pdata.pll_prd;
  
        /*
index 653602b306940feec7daad6dc4fe306f4d7498b3..1a26997c36f22681e74292d3a2e6053b0f682c29 100644 (file)
@@ -78,7 +78,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
  static void i2c_wr16(struct v4l2_subdev *sd, u16 reg, u16 val)
  {
        i2c_wrreg(sd, reg, val, 2);
-@@ -2064,6 +2081,7 @@ static int tc358743_probe(struct i2c_cli
+@@ -2065,6 +2082,7 @@ static int tc358743_probe(struct i2c_cli
        struct tc358743_platform_data *pdata = client->dev.platform_data;
        struct v4l2_subdev *sd;
        u16 irq_mask = MASK_HDMI_MSK | MASK_CSI_MSK;
@@ -86,7 +86,7 @@ Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
        int err;
  
        if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
-@@ -2096,7 +2114,8 @@ static int tc358743_probe(struct i2c_cli
+@@ -2097,7 +2115,8 @@ static int tc358743_probe(struct i2c_cli
        sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS;
  
        /* i2c access */
index 20bab47514edf9936c25a82227a8704ad734ddd5..25c23a8257d7729352d73a8fc554836105bb40b2 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
 
 --- a/drivers/usb/host/xhci-mem.c
 +++ b/drivers/usb/host/xhci-mem.c
-@@ -2512,9 +2512,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2513,9 +2513,11 @@ int xhci_mem_init(struct xhci_hcd *xhci,
         * Event ring setup: Allocate a normal ring, but also setup
         * the event ring segment table (ERST).  Section 4.9.3.
         */
@@ -36,7 +36,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
        if (!xhci->event_ring)
                goto fail;
        if (xhci_check_trb_in_td_math(xhci) < 0)
-@@ -2527,7 +2529,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
+@@ -2528,7 +2530,7 @@ int xhci_mem_init(struct xhci_hcd *xhci,
        /* set ERST count with the number of entries in the segment table */
        val = readl(&xhci->ir_set->erst_size);
        val &= ERST_SIZE_MASK;
index d968e93153b4431065c61f8575c48e8719243409..344e1ee37efcf493dfa2356cb9fd5475a441ec8a 100644 (file)
@@ -198,7 +198,7 @@ Signed-off-by: Christoph Hellwig <hch@lst.de>
                return 0;
 --- a/drivers/iommu/dma-iommu.c
 +++ b/drivers/iommu/dma-iommu.c
-@@ -404,8 +404,7 @@ static dma_addr_t iommu_dma_alloc_iova(s
+@@ -406,8 +406,7 @@ static dma_addr_t iommu_dma_alloc_iova(s
        if (iova_len < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1)))
                iova_len = roundup_pow_of_two(iova_len);
  
index 05fa9f8f2ec2e2fb24c351ff2169f6c918376fca..8e85d6e29f9af2afc13513c790620201dd0ad67e 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/drivers/spi/spi.c
 +++ b/drivers/spi/spi.c
-@@ -3116,6 +3116,7 @@ static int __spi_validate_bits_per_word(
+@@ -3117,6 +3117,7 @@ static int __spi_validate_bits_per_word(
   */
  int spi_setup(struct spi_device *spi)
  {
@@ -31,7 +31,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
        unsigned        bad_bits, ugly_bits;
        int             status;
  
-@@ -3133,6 +3134,14 @@ int spi_setup(struct spi_device *spi)
+@@ -3134,6 +3135,14 @@ int spi_setup(struct spi_device *spi)
                (SPI_TX_DUAL | SPI_TX_QUAD | SPI_TX_OCTAL |
                 SPI_RX_DUAL | SPI_RX_QUAD | SPI_RX_OCTAL)))
                return -EINVAL;
index b821afb08b44be79355734941e31ed5b0aec4894..641d7688908958733c205c99079312b0d0a6f555 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
 
 --- a/drivers/spi/spi.c
 +++ b/drivers/spi/spi.c
-@@ -3128,8 +3128,8 @@ int spi_setup(struct spi_device *spi)
+@@ -3129,8 +3129,8 @@ int spi_setup(struct spi_device *spi)
  
        if (ctlr->use_gpio_descriptors && ctlr->cs_gpiods &&
            ctlr->cs_gpiods[spi->chip_select] && !(spi->mode & SPI_CS_HIGH)) {
index 26c1f95bf28452be0164d010ab8ae7c544078ac6..1a892b7d3c094f3b880124468746e488ce6aaa76 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Jacko Dirks <jdirks.linuxdev@gmail.com>
 
 --- a/drivers/media/i2c/tc358743.c
 +++ b/drivers/media/i2c/tc358743.c
-@@ -2004,6 +2004,7 @@ static int tc358743_probe_of(struct tc35
+@@ -2005,6 +2005,7 @@ static int tc358743_probe_of(struct tc35
        switch (bps_pr_lane) {
        default:
                dev_warn(dev, "untested bps per lane: %u bps\n", bps_pr_lane);
index 185e8eb4935df9f90cfd128ef6428a5190487f07..7206bad51dba049b97ffc3df60930465379ea026 100644 (file)
@@ -94,7 +94,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  #include <video/mipi_display.h>
  
  #include "fbtft.h"
-@@ -1200,6 +1201,7 @@ static struct fbtft_platform_data *fbtft
+@@ -1199,6 +1200,7 @@ static struct fbtft_platform_data *fbtft
   * @display: Display properties
   * @sdev: SPI device
   * @pdev: Platform device
@@ -102,7 +102,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
   *
   * Allocates, initializes and registers a framebuffer
   *
-@@ -1209,12 +1211,15 @@ static struct fbtft_platform_data *fbtft
+@@ -1208,12 +1210,15 @@ static struct fbtft_platform_data *fbtft
   */
  int fbtft_probe_common(struct fbtft_display *display,
                       struct spi_device *sdev,
@@ -119,7 +119,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.com>
        int ret;
  
        if (sdev)
-@@ -1230,6 +1235,14 @@ int fbtft_probe_common(struct fbtft_disp
+@@ -1229,6 +1234,14 @@ int fbtft_probe_common(struct fbtft_disp
                pdata = fbtft_probe_dt(dev);
                if (IS_ERR(pdata))
                        return PTR_ERR(pdata);
index f57950b44a652c6d4cde68f8d2b6acc1b2652d50..5a9532c3214890c338fc7f7c885250c5b7b7b404 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
        .width                  = 2,
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -79,6 +79,7 @@ static int parse_redboot_partitions(stru
+@@ -84,6 +84,7 @@ static int parse_redboot_partitions(stru
        int nulllen = 0;
        int numslots;
        unsigned long offset;
@@ -31,7 +31,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
  #ifdef CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED
        static char nullstring[] = "unallocated";
  #endif
-@@ -185,6 +186,16 @@ static int parse_redboot_partitions(stru
+@@ -190,6 +191,16 @@ static int parse_redboot_partitions(stru
                goto out;
        }
  
@@ -48,7 +48,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
        for (i = 0; i < numslots; i++) {
                struct fis_list *new_fl, **prev;
  
-@@ -205,10 +216,10 @@ static int parse_redboot_partitions(stru
+@@ -210,10 +221,10 @@ static int parse_redboot_partitions(stru
                        goto out;
                }
                new_fl->img = &buf[i];
index ef6e980892babd3735b78248ebee9033c9a78523..0f7840b8d87e993bbeea1536cc5e2bb5eaff831e 100644 (file)
@@ -98,7 +98,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
 --- a/scripts/Makefile.build
 +++ b/scripts/Makefile.build
-@@ -349,7 +349,7 @@ targets += $(extra-y) $(MAKECMDGOALS) $(
+@@ -350,7 +350,7 @@ targets += $(extra-y) $(MAKECMDGOALS) $(
  # Linker scripts preprocessor (.lds.S -> .lds)
  # ---------------------------------------------------------------------------
  quiet_cmd_cpp_lds_S = LDS     $@
index 6d0a54c01d56dde6f4c86615d1b396a819ef1410..cdeac45f866961120774a175cf8a0e0ec2a63934 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/include/net/sch_generic.h
 +++ b/include/net/sch_generic.h
-@@ -603,12 +603,13 @@ extern struct Qdisc_ops noop_qdisc_ops;
+@@ -615,12 +615,13 @@ extern struct Qdisc_ops noop_qdisc_ops;
  extern struct Qdisc_ops pfifo_fast_ops;
  extern struct Qdisc_ops mq_qdisc_ops;
  extern struct Qdisc_ops noqueue_qdisc_ops;
index 39a4365113f712d43628d6cce835bb80a1d80cde..6048c25957969b2d289775bd964524f1d2fb6f82 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/lib/vsprintf.c
 +++ b/lib/vsprintf.c
-@@ -914,8 +914,10 @@ char *symbol_string(char *buf, char *end
+@@ -940,8 +940,10 @@ char *symbol_string(char *buf, char *end
                    struct printf_spec spec, const char *fmt)
  {
        unsigned long value;
@@ -23,7 +23,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  #endif
  
        if (fmt[1] == 'R')
-@@ -932,8 +934,14 @@ char *symbol_string(char *buf, char *end
+@@ -958,8 +960,14 @@ char *symbol_string(char *buf, char *end
  
        return string_nocheck(buf, end, sym, spec);
  #else
index 8358a307cd8eab9b374ff2be49d02dd93c254ef1..7692f484ae0c7ba036302e3282040412eedb96a7 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: RafaÅ‚ MiÅ‚ecki <rafal@milecki.pl>
 
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -300,6 +300,7 @@ static int parse_redboot_partitions(stru
+@@ -305,6 +305,7 @@ static int parse_redboot_partitions(stru
  
  static const struct of_device_id mtd_parser_redboot_of_match_table[] = {
        { .compatible = "redboot-fis" },
index a2cf8389898d7297e5f3f986e7d5379be91e6ae0..a3cd4ecf1f9bf799ad57f6d7892838df81bcaae4 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/drivers/mtd/parsers/redboot.c
 +++ b/drivers/mtd/parsers/redboot.c
-@@ -274,14 +274,21 @@ static int parse_redboot_partitions(stru
+@@ -279,14 +279,21 @@ static int parse_redboot_partitions(stru
  #endif
                names += strlen(names)+1;
  
index 7c385ea525e6ddd95be02c053598e79616f4ba1a..d95d1f0d532732cd68848feb95fb50ed22ee1ce1 100644 (file)
@@ -70,7 +70,7 @@ Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
 +                      ret = early_init_dt_alloc_reserved_memory_arch(node,
 +                                      size, align, start, end, nomap, &base);
                        if (ret == 0) {
-                               pr_debug("allocated memory for '%s' node: base %pa, size %ld MiB\n",
+                               pr_debug("allocated memory for '%s' node: base %pa, size %lu MiB\n",
                                        uname, &base,
 @@ -143,8 +162,8 @@ static int __init __reserved_mem_alloc_s
                }
@@ -81,5 +81,5 @@ Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
 +              ret = early_init_dt_alloc_reserved_memory_arch(node,
 +                                      size, align, 0, 0, nomap, &base);
                if (ret == 0)
-                       pr_debug("allocated memory for '%s' node: base %pa, size %ld MiB\n",
-                               uname, &base, (unsigned long)size / SZ_1M);
+                       pr_debug("allocated memory for '%s' node: base %pa, size %lu MiB\n",
+                               uname, &base, (unsigned long)(size / SZ_1M));
index aff53595b0ba523415d699fb38bd9995fb783f71..8ce4380664e4fc4021dc6e04161710b525e65ec8 100644 (file)
@@ -56,10 +56,10 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (ret) {
 -              DRM_DEV_ERROR(dp->dev, "Could not write to GRF: %d\n", ret);
 +              DRM_DEV_ERROR(dev, "Could not write to GRF: %d\n", ret);
+               clk_disable_unprepare(dp->grf_clk);
                return ret;
        }
-@@ -82,24 +82,25 @@ static int cdn_dp_grf_write(struct cdn_d
+@@ -83,24 +83,25 @@ static int cdn_dp_grf_write(struct cdn_d
  
  static int cdn_dp_clk_enable(struct cdn_dp_device *dp)
  {
@@ -89,7 +89,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                goto err_pm_runtime_get;
        }
  
-@@ -112,18 +113,18 @@ static int cdn_dp_clk_enable(struct cdn_
+@@ -113,18 +114,18 @@ static int cdn_dp_clk_enable(struct cdn_
  
        rate = clk_get_rate(dp->core_clk);
        if (!rate) {
@@ -112,7 +112,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  err_pm_runtime_get:
        clk_disable_unprepare(dp->core_clk);
  err_core_clk:
-@@ -134,7 +135,7 @@ err_pclk:
+@@ -135,7 +136,7 @@ err_pclk:
  
  static void cdn_dp_clk_disable(struct cdn_dp_device *dp)
  {
@@ -121,7 +121,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        clk_disable_unprepare(dp->pclk);
        clk_disable_unprepare(dp->core_clk);
  }
-@@ -167,7 +168,7 @@ static int cdn_dp_get_sink_count(struct
+@@ -168,7 +169,7 @@ static int cdn_dp_get_sink_count(struct
        u8 value;
  
        *sink_count = 0;
@@ -130,7 +130,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (ret)
                return ret;
  
-@@ -191,12 +192,13 @@ static struct cdn_dp_port *cdn_dp_connec
+@@ -192,12 +193,13 @@ static struct cdn_dp_port *cdn_dp_connec
  
  static bool cdn_dp_check_sink_connection(struct cdn_dp_device *dp)
  {
@@ -145,7 +145,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                return false;
        }
  
-@@ -218,7 +220,7 @@ static bool cdn_dp_check_sink_connection
+@@ -219,7 +221,7 @@ static bool cdn_dp_check_sink_connection
                usleep_range(5000, 10000);
        }
  
@@ -154,7 +154,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        return false;
  }
  
-@@ -260,7 +262,8 @@ static int cdn_dp_connector_get_modes(st
+@@ -261,7 +263,8 @@ static int cdn_dp_connector_get_modes(st
        mutex_lock(&dp->lock);
        edid = dp->edid;
        if (edid) {
@@ -164,7 +164,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                  edid->width_cm, edid->height_cm);
  
                dp->sink_has_audio = drm_detect_monitor_audio(edid);
-@@ -278,7 +281,8 @@ static int cdn_dp_connector_mode_valid(s
+@@ -279,7 +282,8 @@ static int cdn_dp_connector_mode_valid(s
                                       struct drm_display_mode *mode)
  {
        struct cdn_dp_device *dp = connector_to_dp(connector);
@@ -174,7 +174,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        u32 requested, actual, rate, sink_max, source_max = 0;
        u8 lanes, bpc;
  
-@@ -304,7 +308,7 @@ static int cdn_dp_connector_mode_valid(s
+@@ -305,7 +309,7 @@ static int cdn_dp_connector_mode_valid(s
        sink_max = drm_dp_max_lane_count(dp->dpcd);
        lanes = min(source_max, sink_max);
  
@@ -183,7 +183,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        sink_max = drm_dp_max_link_rate(dp->dpcd);
        rate = min(source_max, sink_max);
  
-@@ -314,7 +318,7 @@ static int cdn_dp_connector_mode_valid(s
+@@ -315,7 +319,7 @@ static int cdn_dp_connector_mode_valid(s
        actual = actual * 8 / 10;
  
        if (requested > actual) {
@@ -192,7 +192,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                  "requested=%d, actual=%d, clock=%d\n",
                                  requested, actual, mode->clock);
                return MODE_CLOCK_HIGH;
-@@ -334,28 +338,29 @@ static int cdn_dp_firmware_init(struct c
+@@ -335,28 +339,29 @@ static int cdn_dp_firmware_init(struct c
        const u32 *iram_data, *dram_data;
        const struct firmware *fw = dp->fw;
        const struct cdn_firmware_header *hdr;
@@ -228,7 +228,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  }
  
  static int cdn_dp_get_sink_capability(struct cdn_dp_device *dp)
-@@ -365,28 +370,29 @@ static int cdn_dp_get_sink_capability(st
+@@ -366,28 +371,29 @@ static int cdn_dp_get_sink_capability(st
        if (!cdn_dp_check_sink_connection(dp))
                return -ENODEV;
  
@@ -264,7 +264,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                      ret);
                        goto err_phy;
                }
-@@ -396,28 +402,28 @@ static int cdn_dp_enable_phy(struct cdn_
+@@ -397,28 +403,28 @@ static int cdn_dp_enable_phy(struct cdn_
        ret = cdn_dp_grf_write(dp, GRF_SOC_CON26,
                               DPTX_HPD_SEL_MASK | DPTX_HPD_SEL);
        if (ret) {
@@ -299,7 +299,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                              ret);
                goto err_power_on;
        }
-@@ -427,7 +433,7 @@ static int cdn_dp_enable_phy(struct cdn_
+@@ -428,7 +434,7 @@ static int cdn_dp_enable_phy(struct cdn_
  
  err_power_on:
        if (phy_power_off(port->phy))
@@ -308,7 +308,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        else
                port->phy_enabled = false;
  
-@@ -445,7 +451,8 @@ static int cdn_dp_disable_phy(struct cdn
+@@ -446,7 +452,8 @@ static int cdn_dp_disable_phy(struct cdn
        if (port->phy_enabled) {
                ret = phy_power_off(port->phy);
                if (ret) {
@@ -318,7 +318,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                        return ret;
                }
        }
-@@ -469,16 +476,16 @@ static int cdn_dp_disable(struct cdn_dp_
+@@ -470,16 +477,16 @@ static int cdn_dp_disable(struct cdn_dp_
        ret = cdn_dp_grf_write(dp, GRF_SOC_CON26,
                               DPTX_HPD_SEL_MASK | DPTX_HPD_DEL);
        if (ret) {
@@ -339,7 +339,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (!dp->connected) {
                kfree(dp->edid);
                dp->edid = NULL;
-@@ -491,11 +498,11 @@ static int cdn_dp_enable(struct cdn_dp_d
+@@ -492,11 +499,11 @@ static int cdn_dp_enable(struct cdn_dp_d
  {
        int ret, i, lanes;
        struct cdn_dp_port *port;
@@ -353,7 +353,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                return -ENODEV;
        }
  
-@@ -508,7 +515,7 @@ static int cdn_dp_enable(struct cdn_dp_d
+@@ -509,7 +516,7 @@ static int cdn_dp_enable(struct cdn_dp_d
  
        ret = cdn_dp_firmware_init(dp);
        if (ret) {
@@ -362,7 +362,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                goto err_clk_disable;
        }
  
-@@ -542,8 +549,9 @@ static void cdn_dp_encoder_mode_set(stru
+@@ -543,8 +550,9 @@ static void cdn_dp_encoder_mode_set(stru
                                    struct drm_display_mode *adjusted)
  {
        struct cdn_dp_device *dp = encoder_to_dp(encoder);
@@ -374,7 +374,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        switch (display_info->bpc) {
        case 10:
-@@ -561,7 +569,7 @@ static void cdn_dp_encoder_mode_set(stru
+@@ -562,7 +570,7 @@ static void cdn_dp_encoder_mode_set(stru
        video->v_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NVSYNC);
        video->h_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NHSYNC);
  
@@ -383,7 +383,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  }
  
  static bool cdn_dp_check_link_status(struct cdn_dp_device *dp)
-@@ -570,11 +578,11 @@ static bool cdn_dp_check_link_status(str
+@@ -571,11 +579,11 @@ static bool cdn_dp_check_link_status(str
        struct cdn_dp_port *port = cdn_dp_connected_port(dp);
        u8 sink_lanes = drm_dp_max_lane_count(dp->dpcd);
  
@@ -398,7 +398,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                DRM_ERROR("Failed to get link status\n");
                return false;
        }
-@@ -586,15 +594,16 @@ static bool cdn_dp_check_link_status(str
+@@ -587,15 +595,16 @@ static bool cdn_dp_check_link_status(str
  static void cdn_dp_encoder_enable(struct drm_encoder *encoder)
  {
        struct cdn_dp_device *dp = encoder_to_dp(encoder);
@@ -418,7 +418,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                          (ret) ? "LIT" : "BIG");
        if (ret)
                val = DP_SEL_VOP_LIT | (DP_SEL_VOP_LIT << 16);
-@@ -609,33 +618,33 @@ static void cdn_dp_encoder_enable(struct
+@@ -610,33 +619,33 @@ static void cdn_dp_encoder_enable(struct
  
        ret = cdn_dp_enable(dp);
        if (ret) {
@@ -461,7 +461,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                goto out;
        }
  out:
-@@ -651,7 +660,8 @@ static void cdn_dp_encoder_disable(struc
+@@ -652,7 +661,8 @@ static void cdn_dp_encoder_disable(struc
        if (dp->active) {
                ret = cdn_dp_disable(dp);
                if (ret) {
@@ -471,7 +471,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                      ret);
                }
        }
-@@ -695,7 +705,7 @@ static const struct drm_encoder_funcs cd
+@@ -696,7 +706,7 @@ static const struct drm_encoder_funcs cd
  
  static int cdn_dp_parse_dt(struct cdn_dp_device *dp)
  {
@@ -480,7 +480,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        struct device_node *np = dev->of_node;
        struct platform_device *pdev = to_platform_device(dev);
        struct resource *res;
-@@ -707,10 +717,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
+@@ -708,10 +718,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
        }
  
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -494,7 +494,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        }
  
        dp->core_clk = devm_clk_get(dev, "core-clk");
-@@ -725,10 +735,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
+@@ -726,10 +736,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
                return PTR_ERR(dp->pclk);
        }
  
@@ -508,7 +508,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        }
  
        dp->grf_clk = devm_clk_get(dev, "grf");
-@@ -737,10 +747,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
+@@ -738,10 +748,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
                return PTR_ERR(dp->grf_clk);
        }
  
@@ -522,7 +522,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        }
  
        dp->dptx_rst = devm_reset_control_get(dev, "dptx");
-@@ -795,7 +805,7 @@ static int cdn_dp_audio_hw_params(struct
+@@ -796,7 +806,7 @@ static int cdn_dp_audio_hw_params(struct
                goto out;
        }
  
@@ -531,7 +531,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (!ret)
                dp->audio_info = audio;
  
-@@ -813,7 +823,7 @@ static void cdn_dp_audio_shutdown(struct
+@@ -814,7 +824,7 @@ static void cdn_dp_audio_shutdown(struct
        if (!dp->active)
                goto out;
  
@@ -540,7 +540,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (!ret)
                dp->audio_info.format = AFMT_UNUSED;
  out:
-@@ -832,7 +842,7 @@ static int cdn_dp_audio_digital_mute(str
+@@ -833,7 +843,7 @@ static int cdn_dp_audio_digital_mute(str
                goto out;
        }
  
@@ -549,7 +549,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
  out:
        mutex_unlock(&dp->lock);
-@@ -844,7 +854,8 @@ static int cdn_dp_audio_get_eld(struct d
+@@ -845,7 +855,8 @@ static int cdn_dp_audio_get_eld(struct d
  {
        struct cdn_dp_device *dp = dev_get_drvdata(dev);
  
@@ -559,7 +559,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        return 0;
  }
-@@ -878,6 +889,7 @@ static int cdn_dp_request_firmware(struc
+@@ -879,6 +890,7 @@ static int cdn_dp_request_firmware(struc
        int ret;
        unsigned long timeout = jiffies + msecs_to_jiffies(CDN_FW_TIMEOUT_MS);
        unsigned long sleep = 1000;
@@ -567,7 +567,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        WARN_ON(!mutex_is_locked(&dp->lock));
  
-@@ -888,13 +900,13 @@ static int cdn_dp_request_firmware(struc
+@@ -889,13 +901,13 @@ static int cdn_dp_request_firmware(struc
        mutex_unlock(&dp->lock);
  
        while (time_before(jiffies, timeout)) {
@@ -583,7 +583,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                      "failed to request firmware: %d\n", ret);
                        goto out;
                }
-@@ -904,7 +916,7 @@ static int cdn_dp_request_firmware(struc
+@@ -905,7 +917,7 @@ static int cdn_dp_request_firmware(struc
                goto out;
        }
  
@@ -592,7 +592,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        ret = -ETIMEDOUT;
  out:
        mutex_lock(&dp->lock);
-@@ -915,8 +927,9 @@ static void cdn_dp_pd_event_work(struct
+@@ -916,8 +928,9 @@ static void cdn_dp_pd_event_work(struct
  {
        struct cdn_dp_device *dp = container_of(work, struct cdn_dp_device,
                                                event_work);
@@ -603,7 +603,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        int ret;
  
-@@ -933,44 +946,45 @@ static void cdn_dp_pd_event_work(struct
+@@ -934,44 +947,45 @@ static void cdn_dp_pd_event_work(struct
  
        /* Not connected, notify userspace to disable the block */
        if (!cdn_dp_connected_port(dp)) {
@@ -662,7 +662,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                              "Failed to config video %d\n",
                                              ret);
                        }
-@@ -1039,7 +1053,7 @@ static int cdn_dp_bind(struct device *de
+@@ -1040,7 +1054,7 @@ static int cdn_dp_bind(struct device *de
  
        drm_encoder_helper_add(encoder, &cdn_dp_encoder_helper_funcs);
  
@@ -671,7 +671,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        connector->polled = DRM_CONNECTOR_POLL_HPD;
        connector->dpms = DRM_MODE_DPMS_OFF;
  
-@@ -1063,7 +1077,7 @@ static int cdn_dp_bind(struct device *de
+@@ -1064,7 +1078,7 @@ static int cdn_dp_bind(struct device *de
                port = dp->port[i];
  
                port->event_nb.notifier_call = cdn_dp_pd_event;
@@ -680,7 +680,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                                    EXTCON_DISP_DP,
                                                    &port->event_nb);
                if (ret) {
-@@ -1090,7 +1104,7 @@ static void cdn_dp_unbind(struct device
+@@ -1091,7 +1105,7 @@ static void cdn_dp_unbind(struct device
  {
        struct cdn_dp_device *dp = dev_get_drvdata(dev);
        struct drm_encoder *encoder = &dp->encoder;
@@ -689,7 +689,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        cancel_work_sync(&dp->event_work);
        cdn_dp_encoder_disable(encoder);
-@@ -1150,7 +1164,7 @@ static int cdn_dp_probe(struct platform_
+@@ -1151,7 +1165,7 @@ static int cdn_dp_probe(struct platform_
        dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL);
        if (!dp)
                return -ENOMEM;
@@ -698,7 +698,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        match = of_match_node(cdn_dp_dt_ids, pdev->dev.of_node);
        dp_data = (struct cdn_dp_data *)match->data;
-@@ -1195,7 +1209,7 @@ static int cdn_dp_remove(struct platform
+@@ -1196,7 +1210,7 @@ static int cdn_dp_remove(struct platform
        struct cdn_dp_device *dp = platform_get_drvdata(pdev);
  
        platform_device_unregister(dp->audio_pdev);
@@ -707,7 +707,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        component_del(&pdev->dev, &cdn_dp_component_ops);
  
        return 0;
-@@ -1205,7 +1219,7 @@ static void cdn_dp_shutdown(struct platf
+@@ -1206,7 +1220,7 @@ static void cdn_dp_shutdown(struct platf
  {
        struct cdn_dp_device *dp = platform_get_drvdata(pdev);
  
index 19e762618aeb52180c74e6ccbefeaf606433b776..14089a7b3660d04cbd7cc74416822afe3ba26dd9 100644 (file)
@@ -1794,7 +1794,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
  #define encoder_to_dp(c) \
                container_of(c, struct cdn_dp_device, encoder)
-@@ -282,7 +282,7 @@ static int cdn_dp_connector_mode_valid(s
+@@ -283,7 +283,7 @@ static int cdn_dp_connector_mode_valid(s
  {
        struct cdn_dp_device *dp = connector_to_dp(connector);
        struct drm_display_info *display_info =
@@ -1803,7 +1803,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        u32 requested, actual, rate, sink_max, source_max = 0;
        u8 lanes, bpc;
  
-@@ -378,7 +378,7 @@ static int cdn_dp_get_sink_capability(st
+@@ -379,7 +379,7 @@ static int cdn_dp_get_sink_capability(st
        }
  
        kfree(dp->edid);
@@ -1812,7 +1812,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                                   cdns_mhdp_get_edid_block, &dp->mhdp);
        return 0;
  }
-@@ -484,8 +484,8 @@ static int cdn_dp_disable(struct cdn_dp_
+@@ -485,8 +485,8 @@ static int cdn_dp_disable(struct cdn_dp_
        cdns_mhdp_set_firmware_active(&dp->mhdp, false);
        cdn_dp_clk_disable(dp);
        dp->active = false;
@@ -1823,7 +1823,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (!dp->connected) {
                kfree(dp->edid);
                dp->edid = NULL;
-@@ -550,7 +550,7 @@ static void cdn_dp_encoder_mode_set(stru
+@@ -551,7 +551,7 @@ static void cdn_dp_encoder_mode_set(stru
  {
        struct cdn_dp_device *dp = encoder_to_dp(encoder);
        struct drm_display_info *display_info =
@@ -1832,7 +1832,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        struct video_info *video = &dp->mhdp.video_info;
  
        switch (display_info->bpc) {
-@@ -578,7 +578,7 @@ static bool cdn_dp_check_link_status(str
+@@ -579,7 +579,7 @@ static bool cdn_dp_check_link_status(str
        struct cdn_dp_port *port = cdn_dp_connected_port(dp);
        u8 sink_lanes = drm_dp_max_lane_count(dp->dpcd);
  
@@ -1841,7 +1841,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                return false;
  
        if (cdns_mhdp_dpcd_read(&dp->mhdp, DP_LANE0_1_STATUS, link_status,
-@@ -807,7 +807,7 @@ static int cdn_dp_audio_hw_params(struct
+@@ -808,7 +808,7 @@ static int cdn_dp_audio_hw_params(struct
  
        ret = cdns_mhdp_audio_config(&dp->mhdp, &audio);
        if (!ret)
@@ -1850,7 +1850,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
  out:
        mutex_unlock(&dp->lock);
-@@ -823,9 +823,9 @@ static void cdn_dp_audio_shutdown(struct
+@@ -824,9 +824,9 @@ static void cdn_dp_audio_shutdown(struct
        if (!dp->active)
                goto out;
  
@@ -1862,7 +1862,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  out:
        mutex_unlock(&dp->lock);
  }
-@@ -854,8 +854,8 @@ static int cdn_dp_audio_get_eld(struct d
+@@ -855,8 +855,8 @@ static int cdn_dp_audio_get_eld(struct d
  {
        struct cdn_dp_device *dp = dev_get_drvdata(dev);
  
@@ -1873,7 +1873,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        return 0;
  }
-@@ -877,11 +877,11 @@ static int cdn_dp_audio_codec_init(struc
+@@ -878,11 +878,11 @@ static int cdn_dp_audio_codec_init(struc
                .max_i2s_channels = 8,
        };
  
@@ -1889,7 +1889,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  }
  
  static int cdn_dp_request_firmware(struct cdn_dp_device *dp)
-@@ -927,7 +927,7 @@ static void cdn_dp_pd_event_work(struct
+@@ -928,7 +928,7 @@ static void cdn_dp_pd_event_work(struct
  {
        struct cdn_dp_device *dp = container_of(work, struct cdn_dp_device,
                                                event_work);
@@ -1898,7 +1898,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        enum drm_connector_status old_status;
        struct device *dev = dp->mhdp.dev;
  
-@@ -965,8 +965,8 @@ static void cdn_dp_pd_event_work(struct
+@@ -966,8 +966,8 @@ static void cdn_dp_pd_event_work(struct
  
        /* Enabled and connected with a sink, re-train if requested */
        } else if (!cdn_dp_check_link_status(dp)) {
@@ -1909,7 +1909,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                struct drm_display_mode *mode = &dp->mhdp.mode;
  
                DRM_DEV_INFO(dev, "Connected with sink. Re-train link\n");
-@@ -979,8 +979,8 @@ static void cdn_dp_pd_event_work(struct
+@@ -980,8 +980,8 @@ static void cdn_dp_pd_event_work(struct
  
                /* If training result is changed, update the video config */
                if (mode->clock &&
@@ -1920,7 +1920,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
                        ret = cdns_mhdp_config_video(&dp->mhdp);
                        if (ret) {
                                dp->connected = false;
-@@ -1053,7 +1053,7 @@ static int cdn_dp_bind(struct device *de
+@@ -1054,7 +1054,7 @@ static int cdn_dp_bind(struct device *de
  
        drm_encoder_helper_add(encoder, &cdn_dp_encoder_helper_funcs);
  
@@ -1929,7 +1929,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        connector->polled = DRM_CONNECTOR_POLL_HPD;
        connector->dpms = DRM_MODE_DPMS_OFF;
  
-@@ -1104,7 +1104,7 @@ static void cdn_dp_unbind(struct device
+@@ -1105,7 +1105,7 @@ static void cdn_dp_unbind(struct device
  {
        struct cdn_dp_device *dp = dev_get_drvdata(dev);
        struct drm_encoder *encoder = &dp->encoder;
@@ -1938,7 +1938,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        cancel_work_sync(&dp->event_work);
        cdn_dp_encoder_disable(encoder);
-@@ -1208,7 +1208,7 @@ static int cdn_dp_remove(struct platform
+@@ -1209,7 +1209,7 @@ static int cdn_dp_remove(struct platform
  {
        struct cdn_dp_device *dp = platform_get_drvdata(pdev);
  
index 106c1f7285406279ae31ca9ea0c101241eee7005..6f44ce22196e344f9951d076d53f75a9f5d885e7 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
 
 --- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
 +++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
-@@ -797,7 +797,7 @@ static int cdn_dp_audio_hw_params(struct
+@@ -798,7 +798,7 @@ static int cdn_dp_audio_hw_params(struct
                audio.format = AFMT_I2S;
                break;
        case HDMI_SPDIF:
index 2ba999050d9911221d91b113e67afef9decda744..bb87fbcfbdb579b5e837ebc720df35644309b9b8 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
 
 --- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
 +++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
-@@ -717,10 +717,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
+@@ -718,10 +718,10 @@ static int cdn_dp_parse_dt(struct cdn_dp
        }
  
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
index 58df9b98aa55bc91ecea6d04b6d65559b892a378..fba2ac4f02571a5f4709f7d37b5a4ab6772ebe96 100644 (file)
@@ -142,7 +142,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        msg[4] = PTS1 | PTS2 | PTS3 | PTS4;
 --- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
 +++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
-@@ -305,12 +305,10 @@ static int cdn_dp_connector_mode_valid(s
+@@ -306,12 +306,10 @@ static int cdn_dp_connector_mode_valid(s
        requested = mode->clock * bpc * 3 / 1000;
  
        source_max = dp->lanes;
@@ -157,7 +157,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
  
        actual = rate * lanes / 100;
  
-@@ -365,21 +363,25 @@ static int cdn_dp_firmware_init(struct c
+@@ -366,21 +364,25 @@ static int cdn_dp_firmware_init(struct c
  
  static int cdn_dp_get_sink_capability(struct cdn_dp_device *dp)
  {
@@ -188,7 +188,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        return 0;
  }
  
-@@ -421,7 +423,8 @@ static int cdn_dp_enable_phy(struct cdn_
+@@ -422,7 +424,8 @@ static int cdn_dp_enable_phy(struct cdn_
        }
  
        port->lanes = cdn_dp_get_port_lanes(port);
@@ -198,7 +198,7 @@ Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
        if (ret) {
                DRM_DEV_ERROR(dev, "set host capabilities failed: %d\n",
                              ret);
-@@ -576,9 +579,9 @@ static bool cdn_dp_check_link_status(str
+@@ -577,9 +580,9 @@ static bool cdn_dp_check_link_status(str
  {
        u8 link_status[DP_LINK_STATUS_SIZE];
        struct cdn_dp_port *port = cdn_dp_connected_port(dp);
index 3357acc76d60d7e1c9577d6d04bf7a0b523e7f7c..7c9a153aec62daf511b3272a1261fd2e64f22780 100644 (file)
@@ -109,7 +109,7 @@ Reviewed-by: Jun Li <jun.li@nxp.com>
        usb_phy_set_suspend(dwc->usb2_phy, 0);
        usb_phy_set_suspend(dwc->usb3_phy, 0);
        ret = phy_power_on(dwc->usb2_generic_phy);
-@@ -1931,12 +1983,9 @@ static const struct dev_pm_ops dwc3_dev_
+@@ -1932,12 +1984,9 @@ static const struct dev_pm_ops dwc3_dev_
  
  #ifdef CONFIG_OF
  static const struct of_device_id of_dwc3_match[] = {
index 4bc9f4d465471f9788231fe7bbe373f5d264b0d5..9a3d3f4a178e1c995f986096977acc2d9c72967e 100644 (file)
@@ -81,7 +81,7 @@ Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
        usb_phy_set_suspend(dwc->usb2_phy, 0);
        usb_phy_set_suspend(dwc->usb3_phy, 0);
        ret = phy_power_on(dwc->usb2_generic_phy);
-@@ -1983,9 +1931,12 @@ static const struct dev_pm_ops dwc3_dev_
+@@ -1984,9 +1932,12 @@ static const struct dev_pm_ops dwc3_dev_
  
  #ifdef CONFIG_OF
  static const struct of_device_id of_dwc3_match[] = {
index 9c5818c268f1aedb4237b78340a1767e621c4644..f9de7035aad6c8019737f608f4cd74e61a1a346c 100644 (file)
@@ -108,7 +108,7 @@ Reviewed-by: Jun Li <jun.li@nxp.com>
        usb_phy_set_suspend(dwc->usb2_phy, 0);
        usb_phy_set_suspend(dwc->usb3_phy, 0);
        ret = phy_power_on(dwc->usb2_generic_phy);
-@@ -1931,12 +1982,16 @@ static const struct dev_pm_ops dwc3_dev_
+@@ -1932,12 +1983,16 @@ static const struct dev_pm_ops dwc3_dev_
  
  #ifdef CONFIG_OF
  static const struct of_device_id of_dwc3_match[] = {
index 92383f51b4777ca793de32a51ca8b3d985cc5b01..12844c860f67362e0d7323f62aa1cce9ad6c0f6a 100644 (file)
@@ -19,7 +19,7 @@
        },
        [PORT_NPCM] = {
                .name           = "Nuvoton 16550",
-@@ -2578,6 +2578,11 @@ serial8250_do_set_termios(struct uart_po
+@@ -2591,6 +2591,11 @@ serial8250_do_set_termios(struct uart_po
        unsigned long flags;
        unsigned int baud, quot, frac = 0;
  
index c971b9b4cafa79f66d9827a6e2f8103cee94bdbe..41ab094e9f717a57abee35e50ba2371c3eb9010b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/leds/Kconfig
 +++ b/drivers/leds/Kconfig
-@@ -823,6 +823,16 @@ config LEDS_LM36274
+@@ -824,6 +824,16 @@ config LEDS_LM36274
          Say Y to enable the LM36274 LED driver for TI LMU devices.
          This supports the LED device LM36274.