<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/mtd/devices, branch v3.18.62</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.18.62</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.18.62'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-01-16T14:59:53+00:00</updated>
<entry>
<title>MTD: m25p80: fix inconsistency in m25p_ids compared to spi_nor_ids</title>
<updated>2015-01-16T14:59:53+00:00</updated>
<author>
<name>Alison Chaiken</name>
<email>alison_chaiken@mentor.com</email>
</author>
<published>2014-11-10T15:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d019b4693b4f9c01891d87159c14cdbb04ea1c23'/>
<id>urn:sha1:d019b4693b4f9c01891d87159c14cdbb04ea1c23</id>
<content type='text'>
commit 834b686552d9018e2d17bd56ac5361b78bcc75b8 upstream.

As stated in a5b7616c5, "mtd: m25p80,spi-nor: Fix module aliases for
m25p80", m25p_ids[] in m25p80.c needs to be kept in sync with
spi_nor_ids[] in spi-nor.c. The change here corrects a misalignment.

(We were missing m25px80 and we had a duplicate w25q128.)

Signed-off-by: Alison Chaiken &lt;alison_chaiken@mentor.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mtd: m25p80,spi-nor: Fix module aliases for m25p80</title>
<updated>2014-10-21T20:46:03+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2014-09-30T02:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a5b7616c55e188fe3d6ef686bef402d4703ecb62'/>
<id>urn:sha1:a5b7616c55e188fe3d6ef686bef402d4703ecb62</id>
<content type='text'>
m25p80's device ID table is now spi_nor_ids, defined in spi-nor.  The
MODULE_DEVICE_TABLE() macro doesn't work with extern definitions, but
its use was also removed at the same time.  Now if m25p80 is built as
a module it doesn't get the necessary aliases to be loaded
automatically.

A clean solution to this will involve defining the list of device
IDs in spi-nor.h and removing struct spi_device_id from the spi-nor
API, but this is quite a large change.

As a quick fix suitable for stable, copy the device IDs back into
m25p80.

Fixes: 03e296f613af ("mtd: m25p80: use the SPI nor framework")
Cc: &lt;stable@vger.kernel.org&gt; # 3.16.x: 32f1b7c8352f: mtd: move support for struct flash_platform_data into m25p80
Cc: &lt;stable@vger.kernel.org&gt; # 3.16.x: 90e55b3812a1: mtd: m25p80: get rid of spi_get_device_id
Cc: &lt;stable@vger.kernel.org&gt; # 3.16.x: 70f3ce0510af: mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id
Cc: &lt;stable@vger.kernel.org&gt; # 3.16.x
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id</title>
<updated>2014-10-17T16:29:21+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2014-09-29T09:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=70f3ce0510afdad7cbaf27ab7ab961377205c782'/>
<id>urn:sha1:70f3ce0510afdad7cbaf27ab7ab961377205c782</id>
<content type='text'>
Drivers currently call spi_nor_match_id() and then spi_nor_scan().
This adds a dependency on struct spi_device_id which we want to
avoid.  Make spi_nor_scan() do it for them.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: m25p80: get rid of spi_get_device_id</title>
<updated>2014-10-17T16:29:21+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2014-09-29T09:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=90e55b3812a1245bb674afcc4410ddba7db402f6'/>
<id>urn:sha1:90e55b3812a1245bb674afcc4410ddba7db402f6</id>
<content type='text'>
This simplifies the way we use spi_nor framework and will allow us to
drop spi_nor_match_id.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: move support for struct flash_platform_data into m25p80</title>
<updated>2014-09-28T22:27:03+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2014-09-28T20:36:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42'/>
<id>urn:sha1:32f1b7c8352fd33d41bcec3cfb054ccdcfd40a42</id>
<content type='text'>
This "type" seems to be an extra hint for m25p80 about the flash. Some
archs register flash_platform_data with "name" set to "m25p80" and then
with a real flash name set in "type". It seems to be a trick specific
to the m25p80 so let's move it out of spi-nor.
Btw switch to the spi_nor_match_id instead of iterating spi_nor_ids.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: nand: Move ELM driver and rename as omap_elm</title>
<updated>2014-09-22T18:39:26+00:00</updated>
<author>
<name>Ezequiel García</name>
<email>ezequiel@vanguardiasur.com.ar</email>
</author>
<published>2014-09-20T16:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6d178ef2fd5e4a7f601874a6e641090e706da3c8'/>
<id>urn:sha1:6d178ef2fd5e4a7f601874a6e641090e706da3c8</id>
<content type='text'>
The ELM driver is only used by the OMAP NAND driver, so let's move it
to the nand/ directory. Additionally, let's rename it to a less confusing
name, so the module is built with a meaningful name, instead of the previous
'elm.ko'.

Acked-by: Roger Quadros &lt;rogerq@ti.com&gt;
Signed-off-by: Ezequiel Garcia &lt;ezequiel@vanguardiasur.com.ar&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: Fixed checkpatch seq_printf warnings</title>
<updated>2014-08-19T18:53:07+00:00</updated>
<author>
<name>Samarth Parikh</name>
<email>samarthp@ymail.com</email>
</author>
<published>2014-07-16T10:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6f3c0f163103fb225c77b73ca17fc4ecea308103'/>
<id>urn:sha1:6f3c0f163103fb225c77b73ca17fc4ecea308103</id>
<content type='text'>
Fixed checkpatch warnings: "WARNING: Prefer seq_puts to seq_printf"

This patch is created with reference to the ongoing lkml thread
https://lkml.org/lkml/2014/7/15/646
where Andrew Morton wrote:

"
- puts is presumably faster

- puts doesn't go rogue if you accidentally pass it a "%".

- this patch would actually make compiled object files few bytes smaller.
  Perhaps because seq_printf() is a varargs function, forcing the
  caller to pass args on the stack instead of in registers.
"

Signed-off-by: Samarth Parikh &lt;samarthp@ymail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v3.16-rc6' into MTD development branch</title>
<updated>2014-07-21T07:01:16+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2014-07-21T06:59:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d0d5864676dbccfb1337864a0ae6ce97e6342678'/>
<id>urn:sha1:d0d5864676dbccfb1337864a0ae6ce97e6342678</id>
<content type='text'>
Linux 3.16-rc6
</content>
</entry>
<entry>
<title>mtd: phram: Fix whitespace issues</title>
<updated>2014-07-14T17:20:19+00:00</updated>
<author>
<name>Rob Ward</name>
<email>robert.ward114@googlemail.com</email>
</author>
<published>2014-07-13T19:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c95777a4bb5daca9857157cc18cb7b8d470364aa'/>
<id>urn:sha1:c95777a4bb5daca9857157cc18cb7b8d470364aa</id>
<content type='text'>
Fix various whitespace issues.

No functional changes.

Signed-off-by: Rob Ward &lt;robert.ward114@googlemail.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions</title>
<updated>2014-07-05T22:44:42+00:00</updated>
<author>
<name>Ted Juan</name>
<email>ted.juan@gmail.com</email>
</author>
<published>2014-06-20T09:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6938ad40cb97a52d88a763008935340729a4acc7'/>
<id>urn:sha1:6938ad40cb97a52d88a763008935340729a4acc7</id>
<content type='text'>
These two function's switch case lack the 'break' that make them always
return error.

Signed-off-by: Ted Juan &lt;ted.juan@gmail.com&gt;
Acked-by: Pekon Gupta &lt;pekon@ti.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # 3.12.x+
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
</feed>
