<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/mfd/mt6360-core.c, branch linux-7.1.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.1.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-7.1.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2024-08-30T08:40:13+00:00</updated>
<entry>
<title>mfd: mt6360: Use scoped variables with memory allocators to simplify error paths</title>
<updated>2024-08-30T08:40:13+00:00</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzysztof.kozlowski@linaro.org</email>
</author>
<published>2024-07-07T11:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4194783812687c5ee51e8f06ec7eb008afdc6764'/>
<id>urn:sha1:4194783812687c5ee51e8f06ec7eb008afdc6764</id>
<content type='text'>
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20240707114823.9175-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>mfd: Switch i2c drivers back to use .probe()</title>
<updated>2023-06-15T08:19:37+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2023-05-15T18:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9816d859239f6d037fef168bdfa1ea1c12e3a76e'/>
<id>urn:sha1:9816d859239f6d037fef168bdfa1ea1c12e3a76e</id>
<content type='text'>
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert
back to (the new) .probe() to be able to eventually drop .probe_new() from
struct i2c_driver.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20230515182752.10050-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Add bounds checking in Regmap read/write call-backs</title>
<updated>2022-12-07T13:28:08+00:00</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2022-09-29T02:00:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5f4f94e9f26cca6514474b307b59348b8485e711'/>
<id>urn:sha1:5f4f94e9f26cca6514474b307b59348b8485e711</id>
<content type='text'>
Fix the potential risk of OOB read if bank index is over the maximum.

Refer to the discussion list for the experiment result on mt6370.
https://lore.kernel.org/all/20220914013345.GA5802@cyhuang-hp-elitebook-840-g3.rt/
If not to check the bound, there is the same issue on mt6360.

Cc: stable@vger.kernel.org
Fixes: 3b0850440a06c (mfd: mt6360: Merge different sub-devices I2C read/write)
Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/1664416817-31590-1-git-send-email-u0084500@gmail.com
</content>
</entry>
<entry>
<title>mfd: mt6360: Sort regulator resources</title>
<updated>2021-07-16T08:00:45+00:00</updated>
<author>
<name>Fei Shao</name>
<email>fshao@chromium.org</email>
</author>
<published>2021-06-29T09:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=84742a98a97237146bdcc5f87c20a7d3d76e02de'/>
<id>urn:sha1:84742a98a97237146bdcc5f87c20a7d3d76e02de</id>
<content type='text'>
Reorder the regulator resources.

Signed-off-by: Fei Shao &lt;fshao@chromium.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Merge different sub-devices I2C read/write</title>
<updated>2021-06-02T09:50:02+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3b0850440a06c54856fbb7afb6a366910462fa0a'/>
<id>urn:sha1:3b0850440a06c54856fbb7afb6a366910462fa0a</id>
<content type='text'>
Merge different sub-devices I2C read/write functions into one Regmap,
because PMIC and LDO part need CRC bits for access protection.

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Merge header file into driver and remove unuse register define</title>
<updated>2021-06-02T09:50:02+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b042c085de7aa89eedfe8df8388b19a0e6679a39'/>
<id>urn:sha1:b042c085de7aa89eedfe8df8388b19a0e6679a39</id>
<content type='text'>
Merge header file into driver and remove unuse register define

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Fix flow which is used to check ic exist</title>
<updated>2021-06-02T09:50:02+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e84702940613accd46e4cee46c287badd59b7628'/>
<id>urn:sha1:e84702940613accd46e4cee46c287badd59b7628</id>
<content type='text'>
Fix flow which is used to check ic exist.

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Remove handle_post_irq callback function</title>
<updated>2021-06-02T09:50:02+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a75a2d56dc2f1a95a0b481eec74f60ff81a1b291'/>
<id>urn:sha1:a75a2d56dc2f1a95a0b481eec74f60ff81a1b291</id>
<content type='text'>
Remove handle_post_irq which is used to retrigger IRQ.
Set IRQ level low trigger in dtsi to keep IRQ always be handled.

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Rename mt6360_pmu by mt6360</title>
<updated>2021-06-02T09:50:01+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=60a90b3579bea601552e650429d9f35039b83ed2'/>
<id>urn:sha1:60a90b3579bea601552e650429d9f35039b83ed2</id>
<content type='text'>
Rename mt6360_pmu by mt6360, because of including
not only PMU part, but also entire MT6360 IC

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6360: Rename mt6360_pmu_data by mt6360_ddata</title>
<updated>2021-06-02T09:50:01+00:00</updated>
<author>
<name>Gene Chen</name>
<email>gene_chen@richtek.com</email>
</author>
<published>2021-05-17T17:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e63ce9a5b3edad84e5f1b3ffb081da7c9847c641'/>
<id>urn:sha1:e63ce9a5b3edad84e5f1b3ffb081da7c9847c641</id>
<content type='text'>
Rename mt6360_pmu_data by mt6360_ddata because of including
not only PMU part, but also entire MT6360 IC.

Signed-off-by: Gene Chen &lt;gene_chen@richtek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
</feed>
