Ensure clocks are always enabled before any interaction with the host controller driver. This makes sure that there is no race between host execution and the core layer turning off clocks in different context with clock gating framework. CRs-Fixed: 324380 Change-Id: Id3dc2074ed81bf758649bc61ce918500a95e9bae Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
21 lines
542 B
C
21 lines
542 B
C
/*
|
|
* linux/drivers/mmc/core/host.h
|
|
*
|
|
* Copyright (C) 2003 Russell King, All Rights Reserved.
|
|
* Copyright 2007 Pierre Ossman
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef _MMC_CORE_HOST_H
|
|
#define _MMC_CORE_HOST_H
|
|
#include <linux/mmc/host.h>
|
|
|
|
int mmc_register_host_class(void);
|
|
void mmc_unregister_host_class(void);
|
|
void mmc_host_deeper_disable(struct work_struct *work);
|
|
|
|
#endif
|
|
|