sdio sn8000 wifi module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

i am trying to have working this module with kernel 3.10 over
sdio, 4 lines, high speed, on a imx6q.

The bcm43362 CHIP_ID is still missing in kernel 3.10 so i merged
some small parts of 3.14 wifi drivers into 3.10.

Actually, seems this module does not reply to the SDIO probing
commands, i am getting err 110 (time out).

Seems its failing here, into sdio_ops.c

int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
{
    struct mmc_command cmd = {0};
    int i, err = 0;

    BUG_ON(!host);

    cmd.opcode = SD_IO_SEND_OP_COND;
    cmd.arg = ocr;
    cmd.flags = MMC_RSP_SPI_R4 | MMC_RSP_R4 | MMC_CMD_BCR;

    for (i = 100; i; i--) {

  >>>   err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
        if (err)
            break;


I checked trough oscilloscope, the command is sent but the
recognize operation terminates in time out.

I am using device tree. usdhc controller is set as 4 lines SDIO.

Every help or suggestion is appreciated.

Many thanks,
angelo
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux