Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#5485 closed defect (fixed)

bug in ar71xx_spi

Reported by: cantona Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc: paradyse@…

Description

in file ar71xx_spi.c

function ar71xx_spi_probe()
sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_IOC);

it should be:
sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_CTRL);

the bug effect the contents read from 0x1f000000.

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description Changed 9 years ago by cantona

Replying to cantona:

in file ar71xx_spi.c

function ar71xx_spi_probe()
sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_IOC);

it should be:
sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_CTRL);

the bug effect the flash contents read from 0x1f000000.

raw_writel(sp->reg_ctrl, base + SPI_REG_CTRL); from ar71xx_spi_chipselect();

it fixed after remove the above line in code

comment:2 Changed 9 years ago by juhosg

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [16767]. Thanks!

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.