Revision 39eb028183bc7378bb6187067e20bf6d8c836407 authored by Pavel Machek on 18 June 2021, 09:29:48 UTC, committed by David S. Miller on 18 June 2021, 18:56:33 UTC
While fixing coverity warning, commit dd2c79677375 introduced typo in
shift value. Fix that.

Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
Fixes: dd2c79677375 ("cxgb4: Fix unintentional sign extension issues")
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1c200f8
Raw File
applespi.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * MacBook (Pro) SPI keyboard and touchpad driver
 *
 * Copyright (c) 2015-2019 Federico Lorenzi
 * Copyright (c) 2017-2019 Ronald Tschalär
 */

#ifndef _APPLESPI_H_
#define _APPLESPI_H_

enum applespi_evt_type {
	ET_CMD_TP_INI = BIT(0),
	ET_CMD_BL = BIT(1),
	ET_CMD_CL = BIT(2),
	ET_RD_KEYB = BIT(8),
	ET_RD_TPAD = BIT(9),
	ET_RD_UNKN = BIT(10),
	ET_RD_IRQ = BIT(11),
	ET_RD_CRC = BIT(12),
};

enum applespi_pkt_type {
	PT_READ,
	PT_WRITE,
	PT_STATUS,
};

#endif /* _APPLESPI_H_ */
back to top