linux/drivers/media
Frank Schaefer 4d58443696 [media] em28xx: simplify ID-reading from Micron sensors
Use i2c_smbus_read_word_data() instead of i2c_master_send() and
i2c_master_recv() for reading the ID of Micorn sensors.

i2c_smbus_read_word_data() assumes that byes are in little-endian,
so, it uses:
	data->word = msgbuf1[0] | (msgbuf1[1] << 8);

However, Micron datasheet describes the ID as if they were read
in big-endian. So, we need to change the byte order in order to
match the ID number as described on their datasheets.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 17:29:51 -03:00
..
cec [media] cec: fix confusing CEC_CAP_RC and IS_REACHABLE(CONFIG_RC_CORE) code 2017-04-10 13:15:29 -03:00
common [media] b2c2: constify nxt200x_config structure 2017-04-17 12:18:18 -03:00
dvb-core [media] media/dvb-core: Race condition when writing to CAM 2017-04-17 17:20:23 -03:00
dvb-frontends [media] dvb-frontends/drxk: don't log errors on unsupported operation mode 2017-04-17 17:07:57 -03:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] tc358743: Add OF device ID table 2017-04-17 13:11:06 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] media: pci: saa7164: remove dead code 2017-04-17 13:07:50 -03:00
platform [media] drivers/media: Convert remaining use of pr_warning to pr_warn 2017-04-17 10:39:59 -03:00
radio [media] wl128x: use setup_timer 2017-04-10 14:56:37 -03:00
rc [media] imon: use setup_timer 2017-04-10 14:56:57 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners [media] si2157: Add support for Si2141-A10 2017-04-14 22:27:47 -03:00
usb [media] em28xx: simplify ID-reading from Micron sensors 2017-04-17 17:29:51 -03:00
v4l2-core [media] v4l2-ctrls.c: set V4L2_CTRL_FLAG_MODIFY_LAYOUT for ROTATE 2017-04-14 22:54:35 -03:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
cec-notifier.c [media] media: add CEC notifier support 2017-04-10 12:48:28 -03:00
Kconfig [media] media: add CEC notifier support 2017-04-10 12:48:28 -03:00
Makefile [media] media: add CEC notifier support 2017-04-10 12:48:28 -03:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
media-entity.c [media] media: entity: Add debug information to graph walk 2017-01-30 11:33:26 -02:00