diff for duplicates of <20150601082200.GC3329@x1> diff --git a/a/1.txt b/N1/1.txt index 3a56876..d439dbe 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,20 +2,19 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > RTC in pmic 88PM800 can run even the core is powered off, and user > can set alarm in RTC. When the alarm is timed out, the PMIC will power up -> the core, and the whole system will boot up. And during PMIC driver probe= -, +> the core, and the whole system will boot up. And during PMIC driver probe, > it will read some register to find out whether this boot is caused by RTC > timeout or not, and pass on this information to the RTC driver. ->=20 +> > So we need rtc platform data to be existed in PMIC driver to pass this > information. ->=20 +> > Signed-off-by: Chao Xie <chao.xie@marvell.com> > Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> > --- > drivers/mfd/88pm800.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) ->=20 +> > diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c > index 8ea4467..34546a1 100644 > --- a/drivers/mfd/88pm800.c @@ -23,7 +22,7 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > @@ -586,6 +586,25 @@ static int pm800_probe(struct i2c_client *client, > return ret; > } -> =20 +> > + /* > + * RTC in pmic can run even the core is powered off, and user can set > + * alarm in RTC. When the alarm is time out, the PMIC will power up @@ -34,7 +33,7 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > + * So we need rtc platform data to be existed to pass this information. > + */ > + if (!pdata->rtc) { -> + pdata->rtc =3D devm_kzalloc(&client->dev, +> + pdata->rtc = devm_kzalloc(&client->dev, > + sizeof(*(pdata->rtc)), GFP_KERNEL); > + if (!pdata->rtc) { > + dev_err(&client->dev, @@ -46,25 +45,12 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: Where is this memory first used? -> ret =3D pm80x_init(client); +> ret = pm80x_init(client); > if (ret) { > dev_err(&client->dev, "pm800_init fail\n"); ---=20 +-- Lee Jones Linaro STMicroelectronics Landing Team Lead -Linaro.org =E2=94=82 Open source software for ARM SoCs +Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog - ---=20 ---=20 -You received this message because you are subscribed to "rtc-linux". -Membership options at http://groups.google.com/group/rtc-linux . -Please read http://groups.google.com/group/rtc-linux/web/checklist -before submitting a driver. ----=20 -You received this message because you are subscribed to the Google Groups "= -rtc-linux" group. -To unsubscribe from this group and stop receiving emails from it, send an e= -mail to rtc-linux+unsubscribe@googlegroups.com. -For more options, visit https://groups.google.com/d/optout. diff --git a/a/content_digest b/N1/content_digest index 6173d56..8c0844c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,38 +1,28 @@ "ref\01432937962-4537-1-git-send-email-vaibhav.hiremath@linaro.org\0" "ref\01432937962-4537-5-git-send-email-vaibhav.hiremath@linaro.org\0" - "From\0Lee Jones <lee.jones@linaro.org>\0" - "Subject\0[rtc-linux] Re: [PATCH 4/4] mfd: 88pm800: allocate pdata->rtc if not allocated earlier\0" + "From\0lee.jones@linaro.org (Lee Jones)\0" + "Subject\0[PATCH 4/4] mfd: 88pm800: allocate pdata->rtc if not allocated earlier\0" "Date\0Mon, 1 Jun 2015 09:22:00 +0100\0" - "To\0Vaibhav Hiremath <vaibhav.hiremath@linaro.org>\0" - "Cc\0linux-arm-kernel@lists.infradead.org" - robh+dt@kernel.org - devicetree@vger.kernel.org - linux-kernel@vger.kernel.org - rtc-linux@googlegroups.com - sameo@linux.intel.com - a.zummo@towertech.it - alexandre.belloni@free-electrons.com - " Chao Xie <chao.xie@marvell.com>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Sat, 30 May 2015, Vaibhav Hiremath wrote:\n" "\n" "> RTC in pmic 88PM800 can run even the core is powered off, and user\n" "> can set alarm in RTC. When the alarm is timed out, the PMIC will power up\n" - "> the core, and the whole system will boot up. And during PMIC driver probe=\n" - ",\n" + "> the core, and the whole system will boot up. And during PMIC driver probe,\n" "> it will read some register to find out whether this boot is caused by RTC\n" "> timeout or not, and pass on this information to the RTC driver.\n" - ">=20\n" + "> \n" "> So we need rtc platform data to be existed in PMIC driver to pass this\n" "> information.\n" - ">=20\n" + "> \n" "> Signed-off-by: Chao Xie <chao.xie@marvell.com>\n" "> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>\n" "> ---\n" "> drivers/mfd/88pm800.c | 19 +++++++++++++++++++\n" "> 1 file changed, 19 insertions(+)\n" - ">=20\n" + "> \n" "> diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c\n" "> index 8ea4467..34546a1 100644\n" "> --- a/drivers/mfd/88pm800.c\n" @@ -40,7 +30,7 @@ "> @@ -586,6 +586,25 @@ static int pm800_probe(struct i2c_client *client,\n" "> \t\t\treturn ret;\n" "> \t}\n" - "> =20\n" + "> \n" "> +\t/*\n" "> +\t * RTC in pmic can run even the core is powered off, and user can set\n" "> +\t * alarm in RTC. When the alarm is time out, the PMIC will power up\n" @@ -51,7 +41,7 @@ "> +\t * So we need rtc platform data to be existed to pass this information.\n" "> +\t */\n" "> +\tif (!pdata->rtc) {\n" - "> +\t\tpdata->rtc =3D devm_kzalloc(&client->dev,\n" + "> +\t\tpdata->rtc = devm_kzalloc(&client->dev,\n" "> +\t\t\t\t\t sizeof(*(pdata->rtc)), GFP_KERNEL);\n" "> +\t\tif (!pdata->rtc) {\n" "> +\t\t\tdev_err(&client->dev,\n" @@ -63,27 +53,14 @@ "\n" "Where is this memory first used?\n" "\n" - "> \tret =3D pm80x_init(client);\n" + "> \tret = pm80x_init(client);\n" "> \tif (ret) {\n" "> \t\tdev_err(&client->dev, \"pm800_init fail\\n\");\n" "\n" - "--=20\n" + "-- \n" "Lee Jones\n" "Linaro STMicroelectronics Landing Team Lead\n" - "Linaro.org =E2=94=82 Open source software for ARM SoCs\n" - "Follow Linaro: Facebook | Twitter | Blog\n" - "\n" - "--=20\n" - "--=20\n" - "You received this message because you are subscribed to \"rtc-linux\".\n" - "Membership options at http://groups.google.com/group/rtc-linux .\n" - "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" - "before submitting a driver.\n" - "---=20\n" - "You received this message because you are subscribed to the Google Groups \"=\n" - "rtc-linux\" group.\n" - "To unsubscribe from this group and stop receiving emails from it, send an e=\n" - "mail to rtc-linux+unsubscribe@googlegroups.com.\n" - For more options, visit https://groups.google.com/d/optout. + "Linaro.org ? Open source software for ARM SoCs\n" + Follow Linaro: Facebook | Twitter | Blog -ccf8476e284218608795a0ef5451d290884e84d1e93a274a375e3c8998a2ae96 +f32770745329c87587c3603375af214bb4590a4f527913b4d560187447fa4577
diff --git a/a/1.txt b/N2/1.txt index 3a56876..b0d7fde 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -2,20 +2,19 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > RTC in pmic 88PM800 can run even the core is powered off, and user > can set alarm in RTC. When the alarm is timed out, the PMIC will power up -> the core, and the whole system will boot up. And during PMIC driver probe= -, +> the core, and the whole system will boot up. And during PMIC driver probe, > it will read some register to find out whether this boot is caused by RTC > timeout or not, and pass on this information to the RTC driver. ->=20 +> > So we need rtc platform data to be existed in PMIC driver to pass this > information. ->=20 +> > Signed-off-by: Chao Xie <chao.xie@marvell.com> > Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> > --- > drivers/mfd/88pm800.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) ->=20 +> > diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c > index 8ea4467..34546a1 100644 > --- a/drivers/mfd/88pm800.c @@ -23,7 +22,7 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > @@ -586,6 +586,25 @@ static int pm800_probe(struct i2c_client *client, > return ret; > } -> =20 +> > + /* > + * RTC in pmic can run even the core is powered off, and user can set > + * alarm in RTC. When the alarm is time out, the PMIC will power up @@ -34,7 +33,7 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: > + * So we need rtc platform data to be existed to pass this information. > + */ > + if (!pdata->rtc) { -> + pdata->rtc =3D devm_kzalloc(&client->dev, +> + pdata->rtc = devm_kzalloc(&client->dev, > + sizeof(*(pdata->rtc)), GFP_KERNEL); > + if (!pdata->rtc) { > + dev_err(&client->dev, @@ -46,25 +45,12 @@ On Sat, 30 May 2015, Vaibhav Hiremath wrote: Where is this memory first used? -> ret =3D pm80x_init(client); +> ret = pm80x_init(client); > if (ret) { > dev_err(&client->dev, "pm800_init fail\n"); ---=20 +-- Lee Jones Linaro STMicroelectronics Landing Team Lead -Linaro.org =E2=94=82 Open source software for ARM SoCs +Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog - ---=20 ---=20 -You received this message because you are subscribed to "rtc-linux". -Membership options at http://groups.google.com/group/rtc-linux . -Please read http://groups.google.com/group/rtc-linux/web/checklist -before submitting a driver. ----=20 -You received this message because you are subscribed to the Google Groups "= -rtc-linux" group. -To unsubscribe from this group and stop receiving emails from it, send an e= -mail to rtc-linux+unsubscribe@googlegroups.com. -For more options, visit https://groups.google.com/d/optout. diff --git a/a/content_digest b/N2/content_digest index 6173d56..c617e56 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,7 +1,7 @@ "ref\01432937962-4537-1-git-send-email-vaibhav.hiremath@linaro.org\0" "ref\01432937962-4537-5-git-send-email-vaibhav.hiremath@linaro.org\0" "From\0Lee Jones <lee.jones@linaro.org>\0" - "Subject\0[rtc-linux] Re: [PATCH 4/4] mfd: 88pm800: allocate pdata->rtc if not allocated earlier\0" + "Subject\0Re: [PATCH 4/4] mfd: 88pm800: allocate pdata->rtc if not allocated earlier\0" "Date\0Mon, 1 Jun 2015 09:22:00 +0100\0" "To\0Vaibhav Hiremath <vaibhav.hiremath@linaro.org>\0" "Cc\0linux-arm-kernel@lists.infradead.org" @@ -19,20 +19,19 @@ "\n" "> RTC in pmic 88PM800 can run even the core is powered off, and user\n" "> can set alarm in RTC. When the alarm is timed out, the PMIC will power up\n" - "> the core, and the whole system will boot up. And during PMIC driver probe=\n" - ",\n" + "> the core, and the whole system will boot up. And during PMIC driver probe,\n" "> it will read some register to find out whether this boot is caused by RTC\n" "> timeout or not, and pass on this information to the RTC driver.\n" - ">=20\n" + "> \n" "> So we need rtc platform data to be existed in PMIC driver to pass this\n" "> information.\n" - ">=20\n" + "> \n" "> Signed-off-by: Chao Xie <chao.xie@marvell.com>\n" "> Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>\n" "> ---\n" "> drivers/mfd/88pm800.c | 19 +++++++++++++++++++\n" "> 1 file changed, 19 insertions(+)\n" - ">=20\n" + "> \n" "> diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c\n" "> index 8ea4467..34546a1 100644\n" "> --- a/drivers/mfd/88pm800.c\n" @@ -40,7 +39,7 @@ "> @@ -586,6 +586,25 @@ static int pm800_probe(struct i2c_client *client,\n" "> \t\t\treturn ret;\n" "> \t}\n" - "> =20\n" + "> \n" "> +\t/*\n" "> +\t * RTC in pmic can run even the core is powered off, and user can set\n" "> +\t * alarm in RTC. When the alarm is time out, the PMIC will power up\n" @@ -51,7 +50,7 @@ "> +\t * So we need rtc platform data to be existed to pass this information.\n" "> +\t */\n" "> +\tif (!pdata->rtc) {\n" - "> +\t\tpdata->rtc =3D devm_kzalloc(&client->dev,\n" + "> +\t\tpdata->rtc = devm_kzalloc(&client->dev,\n" "> +\t\t\t\t\t sizeof(*(pdata->rtc)), GFP_KERNEL);\n" "> +\t\tif (!pdata->rtc) {\n" "> +\t\t\tdev_err(&client->dev,\n" @@ -63,27 +62,14 @@ "\n" "Where is this memory first used?\n" "\n" - "> \tret =3D pm80x_init(client);\n" + "> \tret = pm80x_init(client);\n" "> \tif (ret) {\n" "> \t\tdev_err(&client->dev, \"pm800_init fail\\n\");\n" "\n" - "--=20\n" + "-- \n" "Lee Jones\n" "Linaro STMicroelectronics Landing Team Lead\n" - "Linaro.org =E2=94=82 Open source software for ARM SoCs\n" - "Follow Linaro: Facebook | Twitter | Blog\n" - "\n" - "--=20\n" - "--=20\n" - "You received this message because you are subscribed to \"rtc-linux\".\n" - "Membership options at http://groups.google.com/group/rtc-linux .\n" - "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" - "before submitting a driver.\n" - "---=20\n" - "You received this message because you are subscribed to the Google Groups \"=\n" - "rtc-linux\" group.\n" - "To unsubscribe from this group and stop receiving emails from it, send an e=\n" - "mail to rtc-linux+unsubscribe@googlegroups.com.\n" - For more options, visit https://groups.google.com/d/optout. + "Linaro.org \342\224\202 Open source software for ARM SoCs\n" + Follow Linaro: Facebook | Twitter | Blog -ccf8476e284218608795a0ef5451d290884e84d1e93a274a375e3c8998a2ae96 +02a4a04628a4bb80d53d455d82f555fdcf6676c644740709ee7e0ee409c11f0c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.