{"push_id":602275157,"size":170,"distinct_size":0,"ref":"refs/heads/korg/master","head":"9eccca0843205f87c00404b663188b88eb248051","before":"5f237425f352487a2e3fdef2f0557eedcd97d898","commits":[{"sha":"ddc25bdd2b7f34667111714fafc9c04f6ad97fee","author":{"email":"320bca71fc381a4a025636043ca86e734e31cf8b@nod.at","name":"Richard Weinberger"},"message":"iio: dht11: Fix out-of-bounds read\n\nAs we access i-1 we must not start with i=0.\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nAcked-by: Hartmut Knaack <knaack.h@gmx.de>\nAcked-by: Harald Geyer <harald@ccbib.org>\nReviewed-by: Sanjeev Sharma <sanjeev_sharma@mentor.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/ddc25bdd2b7f34667111714fafc9c04f6ad97fee"},{"sha":"004bc530341a40536494431cf665504f8ee70266","author":{"email":"320bca71fc381a4a025636043ca86e734e31cf8b@nod.at","name":"Richard Weinberger"},"message":"iio: dht11: Add locking\n\nMake sure that the read function is not interrupted...\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nAcked-by: Harald Geyer <harald@ccbib.org>\nReviewed-by: Sanjeev Sharma <sanjeev_sharma@mentor.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/004bc530341a40536494431cf665504f8ee70266"},{"sha":"94e65519abde01cbffb9c538a4598f6a50bc86d1","author":{"email":"320bca71fc381a4a025636043ca86e734e31cf8b@nod.at","name":"Richard Weinberger"},"message":"iio: dht11: IRQ fixes\n\nSince setting irq-enabled GPIOs into output state is not supported\nby all GPIO controllers, we need to disable the irq while requesting\nsensor data. As side effect we lose a tiny bit of functionality:\nSome wiring problems can't be concluded from log messages anymore.\n\nSigned-off-by: Richard Weinberger <richard@nod.at>\nSigned-off-by: Harald Geyer <harald@ccbib.org>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/94e65519abde01cbffb9c538a4598f6a50bc86d1"},{"sha":"f2229ab8611e6e79992b6357db3fb4faf70e74a9","author":{"email":"04c1189a665e35eb7dd53274dd18ee0ba50218b3@hofr.at","name":"Nicholas Mc Guire"},"message":"iio: iadc: wait_for_completion_timeout time in jiffies\n\nThe timeout value to wait_for_completion_timeout is in jiffies but\nthe value being passed seems like it was intended to by microseconds\nNote that the timeout was extremely long thus it might be too short\nnow. In any case it probably should be passed through usecs_to_jiffies()\nor msecs_to_jiffies()\n\npatch is against linux-next 3.19.0-rc1 -next-20141226\n\npatch was only compile-tested x86_64_defcofnig + CONFIG_SPMI=m\nCONFIG_IIO=m, CONFIG_QCOM_SPMI_IADC=m\n\nSigned-off-by: Nicholas Mc Guire <der.herr@hofr.at>\nAcked-by: Ivan T. Ivanov <iivanov@mm-sol.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/f2229ab8611e6e79992b6357db3fb4faf70e74a9"},{"sha":"4f33fbae555000bf73aaacbc4f5b24668afc8c7a","author":{"email":"910e550f1c830a1d246b6c3ed4d6ca559ba95c19@linux.intel.com","name":"Srinivas Pandruvada"},"message":"iio: imu: inv_mpu6050: Prevent dereferencing NULL\n\nWhen id is null, with ACPI enumeration, don't dereference it.\n\nSigned-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/4f33fbae555000bf73aaacbc4f5b24668afc8c7a"},{"sha":"f81197b8a31b8fb287ae57f597b5b6841e1ece92","author":{"email":"54c7173f2bb040127d337a20071ec781edbec314@gmail.com","name":"Kristina Martšenko"},"message":"iio: mxs-lradc: separate touchscreen and buffer virtual channels\n\nThe touchscreen was initially designed [1] to map all of its physical\nchannels to one virtual channel, leaving buffered capture to use the\nremaining 7 virtual channels. When the touchscreen was reimplemented\n[2], it was made to use four virtual channels, which overlap and\nconflict with the channels the buffer uses.\n\nAs a result, when the buffer is enabled, the touchscreen's virtual\nchannels are remapped to whichever physical channels the buffer was\nconfigured with, causing the touchscreen to read those instead of the\ntouch measurement channels. Effectively the touchscreen stops working.\n\nSo here we separate the channels again, giving the touchscreen 2 virtual\nchannels and the buffer 6. We can't give the touchscreen just 1 channel\nas before, as the current pressure calculation requires 2 channels to be\nread at the same time.\n\nThis makes the touchscreen continue to work during buffered capture. It\nhas been tested on i.MX28, but not on i.MX23.\n\n[1] 06ddd353f5c8 (\"iio: mxs: Implement support for touchscreen\")\n[2] dee05308f602 (\"Staging/iio/adc/touchscreen/MXS: add interrupt driven\ntouch detection\")\n\nSigned-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>\nReviewed-by: Marek Vasut <marex@denx.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/f81197b8a31b8fb287ae57f597b5b6841e1ece92"},{"sha":"86bf7f3ef7e961e91e16dceb31ae0f583483b204","author":{"email":"54c7173f2bb040127d337a20071ec781edbec314@gmail.com","name":"Kristina Martšenko"},"message":"iio: mxs-lradc: make ADC reads not disable touchscreen interrupts\n\nReading a channel through sysfs, or starting a buffered capture, will\ncurrently turn off the touchscreen. This is because the read_raw() and\nbuffer preenable()/postdisable() callbacks disable interrupts for all\nLRADC channels, including those the touchscreen uses.\n\nSo make the callbacks only disable interrupts for the channels they use.\nThis means channel 0 for read_raw() and channels 0-5 for the buffer (if\nthe touchscreen is enabled). Since the touchscreen uses different\nchannels (6 and 7), it no longer gets turned off.\n\nNote that only i.MX28 is affected by this issue, i.MX23 should be fine.\n\nSigned-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>\nReviewed-by: Marek Vasut <marex@denx.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/86bf7f3ef7e961e91e16dceb31ae0f583483b204"},{"sha":"6abe0300a1d5242f4ff89257197f284679af1a06","author":{"email":"54c7173f2bb040127d337a20071ec781edbec314@gmail.com","name":"Kristina Martšenko"},"message":"iio: mxs-lradc: make ADC reads not unschedule touchscreen conversions\n\nReading a channel through sysfs, or starting a buffered capture, can\noccasionally turn off the touchscreen.\n\nThis is because the read_raw() and buffer preenable()/postdisable()\ncallbacks unschedule current conversions on all channels. If a delay\nchannel happens to schedule a touchscreen conversion at the same time,\nthe conversion gets cancelled and the touchscreen sequence stops.\n\nThis is probably related to this note from the reference manual:\n\n\t\"If a delay group schedules channels to be sampled and a manual\n\twrite to the schedule field in CTRL0 occurs while the block is\n\tdiscarding samples, the LRADC will switch to the new schedule\n\tand will not sample the channels that were previously scheduled.\n\tThe time window for this to happen is very small and lasts only\n\twhile the LRADC is discarding samples.\"\n\nSo make the callbacks only unschedule conversions for the channels they\nuse. This means channel 0 for read_raw() and channels 0-5 for the buffer\n(if the touchscreen is enabled). Since the touchscreen uses different\nchannels (6 and 7), it no longer gets turned off.\n\nThis is tested and fixes the issue on i.MX28, but hasn't been tested on\ni.MX23.\n\nSigned-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>\nReviewed-by: Marek Vasut <marex@denx.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/6abe0300a1d5242f4ff89257197f284679af1a06"},{"sha":"89bb35e200bee745c539a96666e0792301ca40f1","author":{"email":"54c7173f2bb040127d337a20071ec781edbec314@gmail.com","name":"Kristina Martšenko"},"message":"iio: mxs-lradc: only update the buffer when its conversions have finished\n\nUsing the touchscreen while running buffered capture results in the\nbuffer reporting lots of wrong values, often just zeros. This is because\nwe push readings to the buffer every time a touchscreen interrupt\narrives, including when the buffer's own conversions have not yet\nfinished. So let's only push to the buffer when its conversions are\nready.\n\nSigned-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>\nReviewed-by: Marek Vasut <marex@denx.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/89bb35e200bee745c539a96666e0792301ca40f1"},{"sha":"f7067a5ad717d4dbb4faa3ec56744152f6ba97ad","author":{"email":"ba324ca7b1c77fc20bb970d5aff6eea9377918a5@rasmusvillemoes.dk","name":"Rasmus Villemoes"},"message":"staging: iio: ad2s1200: Fix sign extension\n\nThe line above makes vel a 12-bit quantity (st->rx[] is u8). The\nintention is to sign-extend vel using bit 11 as the sign bit. But\nbecause of C's promotion rules \"vel = (vel << 4) >> 4;\" is actually a\nno-op, since vel is promoted to int before the inner\nshift. sign_extend32 works equally well for 8 and 16 bits types, so\nuse that.\n\nSigned-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>\nAcked-by: Lars-Peter Clausen <lars@metafoo.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/f7067a5ad717d4dbb4faa3ec56744152f6ba97ad"},{"sha":"19e353f2b344ad86cea6ebbc0002e5f903480a90","author":{"email":"ba324ca7b1c77fc20bb970d5aff6eea9377918a5@rasmusvillemoes.dk","name":"Rasmus Villemoes"},"message":"iio: imu: adis16400: Fix sign extension\n\nThe intention is obviously to sign-extend a 12 bit quantity. But\nbecause of C's promotion rules, the assignment is equivalent to \"val16\n&= 0xfff;\". Use the proper API for this.\n\nSigned-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>\nAcked-by: Lars-Peter Clausen <lars@metafoo.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/19e353f2b344ad86cea6ebbc0002e5f903480a90"},{"sha":"03305e535cd5cdc1079b32909bf4b2dd67d46f7f","author":{"email":"05c83f7cee1d5cf9307ce0d7ae6ccfa44e4deab5@i2se.com","name":"Stefan Wahren"},"message":"iio: mxs-lradc: fix iio channel map regression\n\nSince commit c8231a9af8147f8a (\"iio: mxs-lradc: compute temperature\nfrom channel 8 and 9\") with the removal of adc channel 9 there is\nno 1-1 mapping in the channel spec.\n\nAll hwmon channel values above 9 are accessible via there index minus\none. So add a hidden iio channel 9 to fix this issue.\n\nSigned-off-by: Stefan Wahren <stefan.wahren@i2se.com>\nAcked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>\nReviewed-by: Marek Vasut <marex@denx.de>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/03305e535cd5cdc1079b32909bf4b2dd67d46f7f"},{"sha":"9e128ced3851d2802b6db870f6b2e93f449ce013","author":{"email":"9118629b2d65c9a0b93a5821e195ab758351ff75@gmail.com","name":"Angelo Compagnucci"},"message":"iio:adc:mcp3422 Fix incorrect scales table\n\nThis patch fixes uncorrect order of mcp3422_scales table, the values\nwas erroneously transposed.\nIt removes also an unused array and a wrong comment.\n\nSigned-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/9e128ced3851d2802b6db870f6b2e93f449ce013"},{"sha":"da019f59cb16570e78feaf10380ac65a3a06861e","author":{"email":"ab3b2ee9094bbfcde188a022dd40abb8fbbe94dd@bytesatwork.ch","name":"Urs Fässler"},"message":"iio: ad5686: fix optional reference voltage declaration\n\nWhen not using the \"_optional\" function, a dummy regulator is returned\nand the driver fails to initialize.\n\nSigned-off-by: Urs Fässler <urs.fassler@bytesatwork.ch>\nAcked-by: Lars-Peter Clausen <lars@metafoo.de>\nCc: stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/da019f59cb16570e78feaf10380ac65a3a06861e"},{"sha":"49e19d5f27aaa004692a2080453b9cc4d4fb6ec4","author":{"email":"bca0f91b5fec0779b376b1336df372ccd4618edb@gmail.com","name":"Roberta Dobrescu"},"message":"iio: light: jsa1212: Select REGMAP_I2C\n\nThis patch adds missing 'select' statement for jsa1212 driver.\nWithout regmap_i2c, we get the following error when loading the module:\nUnknown symbol devm_regmap_init_i2c.\n\nSigned-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>\nReviewed-by: Daniel Baluta <daniel.baluta@intel.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/49e19d5f27aaa004692a2080453b9cc4d4fb6ec4"},{"sha":"8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78","author":{"email":"bca0f91b5fec0779b376b1336df372ccd4618edb@gmail.com","name":"Roberta Dobrescu"},"message":"iio: light: gp2ap020a00f: Select REGMAP_I2C\n\nThis patch adds missing 'select' statement for gp2ap020a00f driver.\nWithout regmap_i2c, we get the following error when loading the module:\nUnknown symbol devm_regmap_init_i2c.\n\nSigned-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>\nReviewed-by: Daniel Baluta <daniel.baluta@intel.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/8c3b3efb32e0fc5dc3c0a81c7f7639a14bebdb78"},{"sha":"e765537add38cf7967efa11999bb5daf84a6517d","author":{"email":"09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org","name":"Jonathan Cameron"},"message":"Revert \"iio:humidity:si7020: fix pointer to i2c client\"\n\nThis reverts commit e0922e5e3ccb78aa0152e93dfbd1755ac39c8582.\nRequested by Andrey Smirnov.\n\nIt incorrectly assumes that the level of indirection is not needed\nwhich is not true(probably because the driver incorrectly allocates\nsizeof(*client) instead of sizeof(*data) via devm_iio_device_alloc).\nIf you look at the code of the probe function(see below) it is easy to\nsee that what is being stored in the private memory of the IIO device\ninstance is not a copy of a 'struct i2c_client' but a pointer to an\ninstance passed as an argument to the probe function.\n\nstruct i2c_client **data;\nint ret;\n\n< Some code skipped >\n\nindio_dev = devm_iio_device_alloc(&client->dev, sizeof(*client));\nif (!indio_dev)\nreturn -ENOMEM;\n\ndata = iio_priv(indio_dev);\n*data = client;\n\nWithout reverting this change any read of a raw value of this sensor\nleads to a kernel oops due to a NULL pointer de-reference on my\nhardware setup.\n\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>\nCc: Stable@vger.kernel.org","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/e765537add38cf7967efa11999bb5daf84a6517d"},{"sha":"e01becbad300712a28f29b666e685536f45e83bc","author":{"email":"20184119c7e38269a48e5b46e687226abdf19908@gmail.com","name":"Andrey Smirnov"},"message":"IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc\n\nSince only a pointer to struct i2c_client is stored in a private area\nof IIO device created by the driver there's no need to allocate\nsizeof(struct i2c_client) worth of storage.\n\nPushed to stable as this is linked to the revert patch previously.\nWithout this followup the original patch looks sensible.\n\nSigned-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>\nCc: Stable@vger.kernel.org\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/e01becbad300712a28f29b666e685536f45e83bc"},{"sha":"b841118ee6c0917004e7e763c4f6bf8eb10a6d93","author":{"email":"0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org","name":"Geert Uytterhoeven"},"message":"iio: common: ssp_sensors: Protect PM-only functions to kill warning\n\nIf CONFIG_PM_SLEEP=n:\n\n    drivers/iio/common/ssp_sensors/ssp_dev.c:644: warning: ‘ssp_suspend’ defined but not used\n    drivers/iio/common/ssp_sensors/ssp_dev.c:669: warning: ‘ssp_resume’ defined but not used\n\nProtect the unused functions by #ifdef CONFIG_PM_SLEEP to fix this.\n\nSigned-off-by: Geert Uytterhoeven <geert@linux-m68k.org>\nAcked-by: Karol Wrona <k.wrona@samsung.com>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/b841118ee6c0917004e7e763c4f6bf8eb10a6d93"},{"sha":"2035772010db634ec8566b658fb1cd87ec47ac77","author":{"email":"8e18b99e46990fa7e3bd5a1867c7fd53949c00ec@ti.com","name":"George Cherian"},"message":"usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bottom half\n\nEnable HCD_BH flag for musb host controller driver.\nThis improves the MSC/UVC through put. With this enabled\neven 640x480@30fps webcam streaming is also supported.\n\nSigned-off-by: George Cherian <george.cherian@ti.com>\nSigned-off-by: Felipe Balbi <balbi@ti.com>","distinct":false,"url":"https://api.github.com/repos/olivieer/kernel_msm/commits/2035772010db634ec8566b658fb1cd87ec47ac77"}]}