]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fuzz cleanup for 5.4
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 12:44:57 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 12:44:57 +0000 (13:44 +0100)
queue-5.4/rtc-snvs-allow-a-time-difference-on-clock-register-r.patch
queue-5.4/soc-qcom-select-remap_mmio-for-llcc-driver.patch

index b32061cb596061afa1c679a95c6ec2e7a665a306..f7b044d2da593686d318fefd4b0aa6111fea4af9 100644 (file)
@@ -30,11 +30,9 @@ Link: https://lore.kernel.org/r/20221106115915.7930-1-francesco@dolcini.it
 Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
 Signed-off-by: Sasha Levin <sashal@kernel.org>
 ---
- drivers/rtc/rtc-snvs.c | 16 ++++++++++++++--
+ drivers/rtc/rtc-snvs.c |   16 ++++++++++++++--
  1 file changed, 14 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/rtc/rtc-snvs.c b/drivers/rtc/rtc-snvs.c
-index 757f4daa7181..0f1e544ac8db 100644
 --- a/drivers/rtc/rtc-snvs.c
 +++ b/drivers/rtc/rtc-snvs.c
 @@ -33,6 +33,14 @@
@@ -52,7 +50,7 @@ index 757f4daa7181..0f1e544ac8db 100644
  struct snvs_rtc_data {
        struct rtc_device *rtc;
        struct regmap *regmap;
-@@ -57,6 +65,7 @@ static u64 rtc_read_lpsrt(struct snvs_rtc_data *data)
+@@ -57,6 +65,7 @@ static u64 rtc_read_lpsrt(struct snvs_rt
  static u32 rtc_read_lp_counter(struct snvs_rtc_data *data)
  {
        u64 read1, read2;
@@ -60,7 +58,7 @@ index 757f4daa7181..0f1e544ac8db 100644
        unsigned int timeout = 100;
  
        /* As expected, the registers might update between the read of the LSB
-@@ -67,7 +76,8 @@ static u32 rtc_read_lp_counter(struct snvs_rtc_data *data)
+@@ -67,7 +76,8 @@ static u32 rtc_read_lp_counter(struct sn
        do {
                read2 = read1;
                read1 = rtc_read_lpsrt(data);
@@ -70,7 +68,7 @@ index 757f4daa7181..0f1e544ac8db 100644
        if (!timeout)
                dev_err(&data->rtc->dev, "Timeout trying to get valid LPSRT Counter read\n");
  
-@@ -79,13 +89,15 @@ static u32 rtc_read_lp_counter(struct snvs_rtc_data *data)
+@@ -79,13 +89,15 @@ static u32 rtc_read_lp_counter(struct sn
  static int rtc_read_lp_counter_lsb(struct snvs_rtc_data *data, u32 *lsb)
  {
        u32 count1, count2;
@@ -87,6 +85,3 @@ index 757f4daa7181..0f1e544ac8db 100644
        if (!timeout) {
                dev_err(&data->rtc->dev, "Timeout trying to get valid LPSRT Counter read\n");
                return -ETIMEDOUT;
--- 
-2.35.1
-
index a21a6b1800499b24ec2b805ac3bf1fd110c55f0b..d774ff754b7b704e83f6534c9dcaec05af69fdb3 100644 (file)
@@ -35,4 +35,4 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +      select REGMAP_MMIO
        help
          Qualcomm Technologies, Inc. platform specific
-         Last Level Cache Controller(LLCC) driver for platforms such as,
+         Last Level Cache Controller(LLCC) driver. This provides interfaces