Beispiel #1
0
static void ata_exit(void)
{
	/* Disable the clock */

	clk_disable(ata_clk);
	clk_put(ata_clk);
	ata_clk = NULL;

	/* Free the pins */

	gpio_ata_inactive();
}
Beispiel #2
0
static void ata_exit(void)
{
    /* Disable the clock */

    clk_disable(ata_clk);
    clk_put(ata_clk);
    ata_clk = NULL;

    /* Disable the MUX */

    __raw_writew(PBC_BCTRL2_ATA_EN, PBC_BASE_ADDRESS + PBC_BCTRL2_SET);

    /* Free the pins */

    gpio_ata_inactive();
}
static void ata_exit(void)
{
	/* Free the pins */
	gpio_ata_inactive();
}