Skip to contentSkip to conversation

mxc-nand duplicate case value in -next

DISCUSSION Sascha Hauer 2 participants 4 messages Apr 23, 2010 – May 17, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

Currently we have a duplicate case value in the mxc-nand driver in -next. This is because of to different patches adding reset command support to the driver, one from Eric (coming via the mtd master tree) and one from Ivo (coming from the mxc master tree).
As I see it we should take Ivos patch as it adds i.MX21 support along the way, so David, can you please drop Erics patch?

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#1 lore raw

Hi,

Quoted 6 lines · Sascha Hauer

Currently we have a duplicate case value in the mxc-nand driver in -next. This is because of to different patches adding reset command support to the driver, one from Eric (coming via the mtd master tree) and one from Ivo (coming from the mxc master tree). As I see it we should take Ivos patch as it adds i.MX21 support along the way, so David, can you please drop Erics patch?

linux-next does still crash with

drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command':
drivers/mtd/nand/mxc_nand.c:689: error: duplicate case value drivers/mtd/nand/mxc_nand.c:606: error: previously used here drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume':
drivers/mtd/nand/mxc_nand.c:921: warning: unused variable 'host' make[3]: *** [drivers/mtd/nand/mxc_nand.o] Error 1

David, would dropping Eric's patch (like suggested by Sascha) be an acceptable solution?

Thanks,
rsc

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#2 lore raw

David,

Quoted 17 lines · Robert Schwebel
Quoted 6 lines · Sascha Hauer

Currently we have a duplicate case value in the mxc-nand driver in -next. This is because of to different patches adding reset command support to the driver, one from Eric (coming via the mtd master tree) and one from Ivo (coming from the mxc master tree). As I see it we should take Ivos patch as it adds i.MX21 support along the way, so David, can you please drop Erics patch?

linux-next does still crash with

drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command':
drivers/mtd/nand/mxc_nand.c:689: error: duplicate case value drivers/mtd/nand/mxc_nand.c:606: error: previously used here drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume':
drivers/mtd/nand/mxc_nand.c:921: warning: unused variable 'host' make[3]: *** [drivers/mtd/nand/mxc_nand.o] Error 1

Quoted 2 lines

David, would dropping Eric's patch (like suggested by Sascha) be an acceptable solution?

ping

rsc

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

Hi,

Quoted 18 lines · Robert Schwebel
Quoted 17 lines · Robert Schwebel
Quoted 6 lines · Sascha Hauer

Currently we have a duplicate case value in the mxc-nand driver in -next. This is because of to different patches adding reset command support to the driver, one from Eric (coming via the mtd master tree) and one from Ivo (coming from the mxc master tree). As I see it we should take Ivos patch as it adds i.MX21 support along the way, so David, can you please drop Erics patch?

linux-next does still crash with

drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command':
drivers/mtd/nand/mxc_nand.c:689: error: duplicate case value drivers/mtd/nand/mxc_nand.c:606: error: previously used here drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume':
drivers/mtd/nand/mxc_nand.c:921: warning: unused variable 'host' make[3]: *** [drivers/mtd/nand/mxc_nand.o] Error 1

Quoted 4 lines
Quoted 2 lines

David, would dropping Eric's patch (like suggested by Sascha) be an acceptable solution?

ping

I just tested with next-20100517 and the duplicate case is still there. David, can we do something to resolve this? Sascha has suggested a solution above.

Thanks,
rsc

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |