/* * max9877.h -- amp driver for max9877 * * Copyright (C) 2009 Samsung Electronics Co.Ltd * Author: Joonyoung Shim * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * */ #ifndef _MAX9877_H #define _MAX9877_H #define MAX9877_INPUT_MODE 0x00 #define MAX9877_SPK_VOLUME 0x01 #define MAX9877_HPL_VOLUME 0x02 #define MAX9877_HPR_VOLUME 0x03 #define MAX9877_OUTPUT_MODE 0x04 /* MAX9877_INPUT_MODE */ #define MAX9877_INB (1 << 4) #define MAX9877_INA (1 << 5) #define MAX9877_ZCD (1 << 6) /* MAX9877_OUTPUT_MODE */ #define MAX9877_OUTMODE_MASK (15 << 0) #define MAX9877_OSC_MASK (3 << 4) #define MAX9877_OSC_OFFSET 4 #define MAX9877_BYPASS (1 << 6) #define MAX9877_SHDN (1 << 7) #endif name='h' onchange='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-01-27 15:06:46 +0000
committerDavid S. Miller <davem@davemloft.net>2017-01-29 18:24:00 -0500
commit1a28242bac44b9eb24fb2e84131256cb3c63372c (patch)
tree2d3923c79d1c4e5b576ece38444fd9d4729c907d
parentf81e5ca9155e8b4527662aa66ba984f58257ccdb (diff)
net: ethernet: aquantia: return -ETIME in macro AQ_HW_WAIT_FOR
The macro is returning ETIME which means various checks to see if the returned err is less than zero never work. I believe a -ETIME should be returned instead. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>