[<prev] [next>] [day] [month] [year] [list]
Message-ID: <A5A2428223A543BFA446208332996B86@hacdom.okisemi.com>
Date: Tue, 22 Feb 2011 21:00:32 +0900
From: "Tomoya MORINAGA" <tomoya-linux@....okisemi.com>
To: "'David Brownell'" <dbrownell@...rs.sourceforge.net>,
"'Grant Likely'" <grant.likely@...retlab.ca>,
<spi-devel-general@...ts.sourceforge.net>,
<linux-kernel@...r.kernel.org>
Cc: <qi.wang@...el.com>, <yong.y.wang@...el.com>,
<joel.clark@...el.com>, <kok.howg.ewe@...el.com>,
"Toshiharu Okada" <toshiharu-linux@....okisemi.com>
Subject: RE: spi_topcliff_pch: reload issue
Hi,
Previous my question included mistake.
I show modified below.
insmod spi_topcliff_pch.ko(Then, both /dev/spidev0.0/1.0 are created with success)
rmmod spi_topcliff_pch.ko (Then, both /dev/spidev0.0/1.0 are NOT deleted.)
insmod spi_topcliff_pch.ko(Then, kernel error occurred. Attached err_log)
I attached source code(power management is not updated) and kernel error log.
Do you have any information about the above ?
With Best Regards,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.
> -----Original Message-----
> From: Tomoya MORINAGA [mailto:morinaga526@....okisemi.com]
> Sent: Tuesday, February 22, 2011 10:22 AM
> To: 'David Brownell'; 'Grant Likely';
> 'spi-devel-general@...ts.sourceforge.net';
> 'linux-kernel@...r.kernel.org'
> Cc: 'qi.wang@...el.com'; 'yong.y.wang@...el.com';
> 'joel.clark@...el.com'; 'kok.howg.ewe@...el.com'; Toshiharu Okada
> Subject: spi_topcliff_pch: reload issue
>
> Hi,
>
> issue: after reload the spi module, it can't do SPI communication.
>
> We have faced issue when execute the following command.
> insmod xxx.ko(Then, /dev/spidev0.0 is created with success)
> rmmod xxx.ko (Then, /dev/spidev0.0 is deleted with success)
> insmod xxx.ko(Then, /dev/spidev0.0 is created, however, below
> error message is showed)
>
> 0000:02:0c.1: registered master spi0
> 0000:02:0c.1: chipselect 0 already in use
> 0000:02:0c.1: can't create new device for spidev
>
> Do you have any information about the above ?
>
> kernel=2.6.37 on FC14
>
> With Best Regards,
> -----------------------------------------
> Tomoya MORINAGA
> OKI SEMICONDUCTOR CO., LTD.
View attachment "spi_topcliff_pch.c" of type "text/plain" (35078 bytes)
Download attachment "err_log" of type "application/octet-stream" (6136 bytes)
Powered by blists - more mailing lists