summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1701.h
blob: 8d0949a2aec9908720098e78f6d52e480a01518a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * header file for ADAU1701 SigmaDSP processor
 *
 * Copyright 2011 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 */

#ifndef _ADAU1701_H
#define _ADAU1701_H

enum adau1701_clk_src {
	ADAU1701_CLK_SRC_OSC,
	ADAU1701_CLK_SRC_MCLK,
};

#endif
;2017-02-12 19:18:15 -0500 committerDavid S. Miller <davem@davemloft.net>2017-02-12 22:18:49 -0500 commit33dac24abbd5a77eefca18fb7ebbd01a3cf1b343 (patch) tree14ba60af62784512b09923cc271a74026d113a91 /drivers parent61aad724ec0a685bc83b02b059a3ca0ad3bde6b0 (diff)
bnxt_en: Do not setup PHY unless driving a single PF.
If it is a VF or an NPAR function, the firmware call to setup the PHY will fail. Adding this check will prevent unnecessary firmware calls to setup the PHY unless calling from the PF. This will also eliminate many unnecessary warning messages when the call from a VF or NPAR fails. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c