Merge tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging / IIO driver updates from Greg KH: "Here is the big staging and IIO driver pull request for 5.11-rc1 Lots of different things in here: - loads of driver updates - so many coding style cleanups - new IIO drivers - Android ION code is finally removed from the tree - wimax drivers are moved to staging on their way out of the kernel Nothing really exciting, just the constant grind of kernel development :) All have been in linux-next for a while with no reported issues" * tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (341 commits) staging: olpc_dcon: Do not call platform_device_unregister() in dcon_probe() staging: most: Fix spelling mistake "tranceiver" -> "transceiver" staging: qlge: remove duplicate word in comment staging: comedi: mf6x4: Fix AI end-of-conversion detection staging: greybus: Add TODO item about modernizing the pwm code pinctrl: ralink: add a pinctrl driver for the rt2880 family dt-bindings: pinctrl: rt2880: add binding document staging: rtl8723bs: remove ELEMENT_ID enum staging: rtl8723bs: remove unused macros staging: rtl8723bs: replace EID_EXTCapability staging: rtl8723bs: replace EID_BSSIntolerantChlReport staging: rtl8723bs: replace EID_BSSCoexistence staging: rtl8723bs: replace _MME_IE_ staging: rtl8723bs: replace _WAPI_IE_ staging: rtl8723bs: replace _EXT_SUPPORTEDRATES_IE_ staging: rtl8723bs: replace _ERPINFO_IE_ staging: rtl8723bs: replace _CHLGETXT_IE_ staging: rtl8723bs: replace _COUNTRY_IE_ staging: rtl8723bs: replace _IBSS_PARA_IE_ staging: rtl8723bs: replace _TIM_IE_ ...
This commit is contained in:
@@ -102,7 +102,7 @@ static int iio_trig_hrtimer_set_state(struct iio_trigger *trig, bool state)
|
||||
|
||||
if (state)
|
||||
hrtimer_start(&trig_info->timer, trig_info->period,
|
||||
HRTIMER_MODE_REL);
|
||||
HRTIMER_MODE_REL_HARD);
|
||||
else
|
||||
hrtimer_cancel(&trig_info->timer);
|
||||
|
||||
@@ -132,7 +132,7 @@ static struct iio_sw_trigger *iio_trig_hrtimer_probe(const char *name)
|
||||
trig_info->swt.trigger->ops = &iio_hrtimer_trigger_ops;
|
||||
trig_info->swt.trigger->dev.groups = iio_hrtimer_attr_groups;
|
||||
|
||||
hrtimer_init(&trig_info->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
|
||||
hrtimer_init(&trig_info->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD);
|
||||
trig_info->timer.function = iio_hrtimer_trig_handler;
|
||||
|
||||
trig_info->sampling_frequency = HRTIMER_DEFAULT_SAMPLING_FREQUENCY;
|
||||
|
||||
@@ -160,7 +160,7 @@ static int iio_sysfs_trigger_probe(int id)
|
||||
t->trig->dev.parent = &iio_sysfs_trig_dev;
|
||||
iio_trigger_set_drvdata(t->trig, t);
|
||||
|
||||
init_irq_work(&t->work, iio_sysfs_trigger_work);
|
||||
t->work = IRQ_WORK_INIT_HARD(iio_sysfs_trigger_work);
|
||||
|
||||
ret = iio_trigger_register(t->trig);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user