Skip to content

Commit

Permalink
Code Align
Browse files Browse the repository at this point in the history
Code Align
  • Loading branch information
rawmain committed Jan 20, 2019
1 parent c79f09f commit c5720e1
Show file tree
Hide file tree
Showing 710 changed files with 18,354 additions and 13,028 deletions.
Empty file modified Documentation/arm/Samsung/clksrc-change-registers.awk
100644 → 100755
Empty file.
Empty file modified Documentation/devicetree/bindings/mfd/tps6507x.txt
100644 → 100755
Empty file.
Empty file modified Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
100644 → 100755
Empty file.
Empty file modified Documentation/dvb/get_dvb_firmware
100644 → 100755
Empty file.
Empty file modified Documentation/hid/hid-sensor.txt
100644 → 100755
Empty file.
Empty file modified Documentation/target/tcm_mod_builder.py
100644 → 100755
Empty file.
Empty file modified Documentation/video4linux/extract_xc3028.pl
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion arch/arm/boot/dts/include/dt-bindings

This file was deleted.

1 change: 1 addition & 0 deletions arch/arm/boot/dts/include/dt-bindings
Empty file modified arch/arm/boot/dts/mt6753.dtsi
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/aes-armv8-aarch32.S
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/aes-armv8-bcm.S
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/aesbs-core.S_shipped
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/bsaes-armv7.pl
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/sha1-armv7-neon.S
100644 → 100755
Empty file.
Empty file modified arch/arm/crypto/sha512-armv7-neon.S
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/include/dt-bindings

This file was deleted.

1 change: 1 addition & 0 deletions arch/arm64/boot/dts/include/dt-bindings
Empty file modified arch/arm64/boot/dts/mt6753.dtsi
100644 → 100755
Empty file.
Empty file modified arch/arm64/boot/dts/mt6795.dtsi
100644 → 100755
Empty file.
Empty file modified arch/arm64/boot/install.sh
100644 → 100755
Empty file.
Empty file modified arch/arm64/kernel/sleep.S
100644 → 100755
Empty file.
Empty file modified arch/arm64/kernel/vdso/gen_vdso_offsets.sh
100644 → 100755
Empty file.
Empty file modified arch/ia64/scripts/check-gas
100644 → 100755
Empty file.
Empty file modified arch/ia64/scripts/toolchain-flags
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion arch/microblaze/boot/dts/system.dts

This file was deleted.

1 change: 1 addition & 0 deletions arch/microblaze/boot/dts/system.dts
Empty file modified arch/powerpc/boot/wrapper
100644 → 100755
Empty file.
Empty file modified arch/powerpc/relocs_check.pl
100644 → 100755
Empty file.
Empty file modified arch/x86/kernel/cpu/mkcapflags.sh
100644 → 100755
Empty file.
Empty file modified arch/x86/syscalls/syscallhdr.sh
100644 → 100755
Empty file.
Empty file modified arch/x86/syscalls/syscalltbl.sh
100644 → 100755
Empty file.
Empty file modified arch/x86/um/vdso/checkundef.sh
100644 → 100755
Empty file.
Empty file modified arch/x86/vdso/checkundef.sh
100644 → 100755
Empty file.
Empty file modified build.sh
100644 → 100755
Empty file.
Empty file modified drivers/clk/mediatek/Makefile
100644 → 100755
Empty file.
100 changes: 100 additions & 0 deletions drivers/gpu/drm/nouveau/core/subdev/i2c/aux.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
* Copyright 2009 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs
*/

#include <subdev/i2c.h>

int
nv_rdaux(struct nouveau_i2c_port *port, u32 addr, u8 *data, u8 size)
{
if (port->func->aux) {
if (port->func->acquire)
port->func->acquire(port);
return port->func->aux(port, 9, addr, data, size);
}
return -ENODEV;
}

int
nv_wraux(struct nouveau_i2c_port *port, u32 addr, u8 *data, u8 size)
{
if (port->func->aux) {
if (port->func->acquire)
port->func->acquire(port);
return port->func->aux(port, 8, addr, data, size);
}
return -ENODEV;
}

static int
aux_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
{
struct nouveau_i2c_port *port = adap->algo_data;
struct i2c_msg *msg = msgs;
int ret, mcnt = num;

if (!port->func->aux)
return -ENODEV;
if ( port->func->acquire)
port->func->acquire(port);

while (mcnt--) {
u8 remaining = msg->len;
u8 *ptr = msg->buf;

while (remaining) {
u8 cnt = (remaining > 16) ? 16 : remaining;
u8 cmd;

if (msg->flags & I2C_M_RD)
cmd = 1;
else
cmd = 0;

if (mcnt || remaining > 16)
cmd |= 4; /* MOT */

ret = port->func->aux(port, cmd, msg->addr, ptr, cnt);
if (ret < 0)
return ret;

ptr += cnt;
remaining -= cnt;
}

msg++;
}

return num;
}

static u32
aux_func(struct i2c_adapter *adap)
{
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
}

const struct i2c_algorithm nouveau_i2c_aux_algo = {
.master_xfer = aux_xfer,
.functionality = aux_func
};
Empty file modified drivers/input/touchscreen/mediatek/GT910/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX_aio/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX_hotknot/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX_hotknot_SCP/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX_hotknot_fpga/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/GT9XX_hotknot_wear/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/ft5206/Makefile
100644 → 100755
Empty file.
20,262 changes: 10,131 additions & 10,131 deletions drivers/input/touchscreen/mediatek/gt9157_new_v24/gt9xx_firmware.h

Large diffs are not rendered by default.

Empty file modified drivers/input/touchscreen/mediatek/melfas_mit200/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/mms128/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_2200/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_2202/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_3320/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_3320_47/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_3320_50/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_3528/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_7020/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/input/touchscreen/mediatek/synaptics_7020_s7/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/Makefile.mt6795
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/KXTJ2_1009/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/bma250e/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/bma255-sdo0/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/bma255-sdo1/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/da213/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/k2dh/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/lsm6ds3/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/mc3xxx_auto/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/mpu6515/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/accelerometer/mxc400x-new/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/activity_sensor/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/almk/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/alsps/APDS9930-new/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/boot/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/boot/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/boot_reason/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/btcvsd/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/btcvsd/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/bthid/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/btif/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/c2k_ccci/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cam_cal/Kconfig
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cam_cal/src/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cam_cal/src/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cam_cal/src/mt6795/cat24c16/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cam_cal/src/mt6795/dummy_eeprom/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/ccci_util/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/chargepump/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/chargepump/lm3632/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/chargepump/rt8542/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/chip/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/chip/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cirq/Kconfig
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cirq/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cmdq/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/conn_md/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/cqdma/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/dbg_dump/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/devapc/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/devapc/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/devinfo/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/devinfo/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/dispsys/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/dramc/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/dum-char/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/emd_ctl/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/emi_bwl/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/emi_mpu/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/etm/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/etm/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/etm/mt6795/etmv3/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/etm/mt6795/etmv4/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/face_down_sensor/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/flashlight/dummy_flashlight/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/flashlight/src/mt6795/Makefile
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified drivers/misc/mediatek/flashlight/src/mt6795/out.txt
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/fmradio/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/freqhopping/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gcpu/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/glance_gesture_sensor/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpio/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpio/mt6795/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu.org/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu.org/ged/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu.org/hal/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu.org/mt6795/rgx/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu/ged/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu/hal/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gpu/mt6795/rgx/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gud/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gud/mt6795/gud/Kconfig
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gud/mt6795/gud/Makefile
100644 → 100755
Empty file.
Empty file modified drivers/misc/mediatek/gyroscope/lsm6ds3gy/Makefile
100644 → 100755
Empty file.
Loading

0 comments on commit c5720e1

Please sign in to comment.