Beispiel #1
0
int
generic_spi_access_done(void)
{
    generic_i2c_deassert_cs();
    ar7100_reg_wr_nf(GENERIC_SPI_FS, 0);

    unprotect();

    return 0;
}
Beispiel #2
0
void
generic_i2c_test_cs_toggle(int cs)
{
  printk("Looping on CS %d \n", cs);

  do {
    generic_i2c_assert_cs(cs);
    generic_i2c_deassert_cs();
    udelay(1000);
  } while generic_check_interruption();
}